packages/qt4/qt_staging.inc: Remove the moc_location and uic_location completely...
authorHolger Freyther <zecke@selfish.org>
Mon, 10 Mar 2008 04:36:22 +0000 (04:36 +0000)
committerHolger Freyther <zecke@selfish.org>
Mon, 10 Mar 2008 04:36:22 +0000 (04:36 +0000)
    For the staging area with sysroot there is no sane way to give the location
    of the command in a sane way. I'm not aware of any one using this to get the uic/moc
    binary, e.g. cmake is using qmake to query these pathes.

packages/qt4/qt_staging.inc

index f8f10de..1c3d69c 100644 (file)
@@ -2,8 +2,8 @@
 do_stage_append() {
     cd ${STAGING_LIBDIR}/pkgconfig
     sed -i s#"-L${S}/lib"##g Qt*.pc
-    sed -i s#"moc_location=${STAGING_BINDIR}/moc4"#moc_location=${layout_bindir}/moc4# Qt*.pc
-    sed -i s#"uic_location=${STAGING_BINDIR}/uic4"#uic_location=${layout_bindir}/uic4# Qt*.pc
+    sed -i s#"moc_location=${STAGING_BINDIR}/moc4$"## Qt*.pc
+    sed -i s#"uic_location=${STAGING_BINDIR}/uic4$"## Qt*.pc
     sed -i s#"-L${STAGING_LIBDIR}"##g Qt*.pc
     sed -i s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g Qt*.pc