[OE-core] [PATCH] tcl: Fix packaging of platform independent files

Khem Raj raj.khem at gmail.com
Wed Aug 3 18:07:18 UTC 2011


On Wed, Aug 3, 2011 at 8:43 AM, Kumar Gala <galak at kernel.crashing.org> wrote:
> Tcl's doesn't utilize ${baselib} for platform independent files but
> defines it as follows:
>
> TCL_LIBRARY             = $(prefix)/lib/tcl$(VERSION)
>
> Match that so if ${baselib} is not just /lib things work properly.


hmm may be fixing tcl to honour --libdir=<dir> to generate TCL_LIBRARY
from configure would be a nice solution

>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  meta/recipes-devtools/tcltk/tcl_8.5.9.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> index 12e2bd0..2eabb4d 100644
> --- a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> +++ b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
>     file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
>     "
>
> -PR = "r0"
> +PR = "r1"
>
>  BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
>                 file://tcl-add-soname.patch"
> @@ -59,7 +59,7 @@ do_install() {
>
>  PACKAGES =+ "${PN}-lib"
>  FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
> -FILES_${PN} += "${libdir}/tcl8.5"
> +FILES_${PN} += "${prefix}/lib/tcl8.5"
>  FILES_${PN}-dev += "${libdir}/tclConfig.sh"
>
>  BBCLASSEXTEND = "native"
> --
> 1.7.3.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list