summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2011-10-11 16:32:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:38:01 +0000
commit90a4f95d3d4c2b30d8e2b1c8ffbd8b3fbc84436a (patch)
tree20ea05c48310f85e0015743983c648e42fc8bec8 /meta/recipes-qt
parent53db004d2473a17e237c69035451e4dc60034ff4 (diff)
downloadpoky-90a4f95d3d4c2b30d8e2b1c8ffbd8b3fbc84436a.tar.gz
qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
[YOCTO #1671] qt4-x11-free's recipe includes a sed script to sanitize it's .prl files, which are used by qmake to generate a list of libs and includes in the Makefiles it generates. It however, fails to take into account the possibility of trailing slashes, and thus leaves them in, and breaks gcc's syntax. Update these regexes to account for them. (From OE-Core rev: 8d580ed449c09a64483519d66e14a2e3b071806a) (From OE-Core rev: 9f655fbf0f818e25fdbf247334881da07a29e815) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r--meta/recipes-qt/qt4/qt4.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 7d91f19c4f..9ff33eca74 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -289,13 +289,13 @@ do_install() {
289 rm -f ${D}/${bindir}/lrelease 289 rm -f ${D}/${bindir}/lrelease
290 290
291 # fix pkgconfig, libtool and prl files 291 # fix pkgconfig, libtool and prl files
292 sed -i -e s#-L${S}/lib##g \ 292 sed -i -e s#-L${S}/lib/\?##g \
293 -e s#-L${STAGING_LIBDIR}##g \ 293 -e s#-L${STAGING_LIBDIR}/\?##g \
294 -e 's#STAGING_LIBDIR}#libdir}'#g \ 294 -e 's#STAGING_LIBDIR}#libdir}'#g \
295 -e s#-L${libdir}##g \ 295 -e s#-L${libdir}/\?##g \
296 -e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \ 296 -e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \
297 -e s#" -Wl,-rpath-link,${S}/lib"##g \ 297 -e s#" -Wl,-rpath-link,${S}/lib/\?"##g \
298 -e s#" -Wl,-rpath-link,${libdir}"##g \ 298 -e s#" -Wl,-rpath-link,${libdir}/\?"##g \
299 -e 's#Iin#I${in#g' \ 299 -e 's#Iin#I${in#g' \
300 ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc 300 ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc
301 301