tcl: Fix packaging of platform independent files
PATCH 1/1 tcl: Fix packaging of platform independent files
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.
--- meta/recipes-devtools/tcltk/tcl_8.5.9.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/tcltk/tcl_8.5.9.bb +2 -2
@@ -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"
Signature · 1 line
1.7.3.4
Richard Purdie
AppliedQuoted 11 lines · Kumar Gala
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.
Signed-off-by Kumar Gala <[email protected]>--- meta/recipes-devtools/tcltk/tcl_8.5.9.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Merged to master, thanks.
Richard
Quoted 6 lines · Kumar Gala
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
Quoted 37 lines
Signed-off-by Kumar Gala <[email protected]>---
meta/recipes-devtools/tcltk/tcl_8.5.9.bb | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)meta/recipes-devtools/tcltk/tcl_8.5.9.bb +0
-0@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \"
meta/recipes-devtools/tcltk/tcl_8.5.9.bb +1
-1-PR = "r0" +PR = "r1"BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
file://tcl-add-soname.patch"meta/recipes-devtools/tcltk/tcl_8.5.9.bb +0
-0@@ -59,7 +59,7 @@ do_install() {PACKAGES =+ "${PN}-lib"
FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"meta/recipes-devtools/tcltk/tcl_8.5.9.bb +1
-1-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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 9 lines · Kumar Gala
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.
Signed-off-by Kumar Gala <[email protected]>---
Even better would be bashing tcl so that it puts its bits in ${datadir} where they belong. :-) But your patch is fine though.
p.
Quoted 6 lines · Phil Blundell
Quoted 5 lines · Kumar Gala
Tcl's doesn't utilize ${baselib} for platform independent files but defines it as follows:
TCL_LIBRARY= $(prefix)/lib/tcl$(VERSION)
Quoted 7 lines
Quoted 4 lines
Match that so if ${baselib} is not just /lib things work properly.
Signed-off-by Kumar Gala <[email protected]>---
Even better would be bashing tcl so that it puts its bits in ${datadir} where they belong. :-) But your patch is fine though.
Agreed, this would be the ideal solution...
Cheers,
Richard