[poky] [PATCH 2/2] qt-x11-free-native: fix where qmake gets linked

Saul Wold sgw at linux.intel.com
Wed Sep 14 13:45:43 PDT 2011


[YOCTO #1484]

qmake was getting linked in the sysroot directory to the build area
and this was being picked up by sstate.  Change how the symbolic link
is created

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
index e64256f..779513e 100644
--- a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
+++ b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
@@ -4,7 +4,7 @@ PRIORITY = "optional"
 LICENSE = "GPL | QPL"
 DEPENDS = "xmu-native"
 HOMEPAGE = "http://www.trolltech.com"
-PR = "r0"
+PR = "r1"
 
 PROVIDES += "qt-x11-free-native"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qt-x11-free"
@@ -58,7 +58,7 @@ do_install() {
     install -d ${D}${datadir}/qt3/
     cp -PfR mkspecs ${D}${datadir}/qt3/
     ln -sf linux-g++ ${D}${datadir}/qt3/mkspecs/${TARGET_OS}-oe-g++
-    ln -s ${D}${datadir}/qt3/mkspecs/ ${D}${datadir}/qmake
+    ln -sf qt3/mkspecs ${D}${datadir}/qmake
     install -d ${D}${libdir}/
     oe_soinstall lib/libqt-mt.so.${PV} ${D}${libdir}/
     cd ${D}${bindir}
-- 
1.7.6




More information about the poky mailing list