[oe-commits] Richard Purdie : tcl 8.5.11: fix packaging for native version

git at git.openembedded.org git at git.openembedded.org
Tue Feb 28 13:37:16 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 3cb519598d9ce044ccccb2d6a52a3c0933433501
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3cb519598d9ce044ccccb2d6a52a3c0933433501

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Feb 28 13:32:44 2012 +0000

tcl 8.5.11: fix packaging for native version

Fix an issue in the previous commit:

ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing.

by replacing ${PN}-lib with tcl-lib

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/tcltk/tcl_8.5.11.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
index a9a41fb..ef1b76d 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
     file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
     "
 
-PR = "r3"
+PR = "r4"
 
 BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
                 file://tcl-add-soname.patch"
@@ -57,12 +57,12 @@ do_install() {
 	done
 }
 
-PACKAGES =+ "${PN}-lib"
-FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
+PACKAGES =+ "tcl-lib"
+FILES_tcl-lib = "${libdir}/libtcl8.5.so*"
 FILES_${PN} += "${prefix}/lib/tcl8.5 ${prefix}/lib/tcl8"
 FILES_${PN}-dev += "${libdir}/tclConfig.sh"
 
 # isn't getting picked up by shlibs code
-RDEPENDS_${PN} += "${PN}-lib"
+RDEPENDS_${PN} += "tcl-lib"
 
 BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list