[oe-commits] Koen Kooi : qt4: fix pkgconfig logic to avoid: NOTE: <type 'exceptions. Exception'>:variable includedir references itself! while evaluating:
git version control
git at git.openembedded.org
Sun Mar 28 17:27:20 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: b9cef2aa8b1f916d792ecccfcf55aff30710f210
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b9cef2aa8b1f916d792ecccfcf55aff30710f210
Author: Koen Kooi <koen at openembedded.org>
Date: Sun Mar 28 18:08:23 2010 +0200
qt4: fix pkgconfig logic to avoid: NOTE: <type 'exceptions.Exception'>:variable includedir references itself! while evaluating:
${includedir}
---
recipes/qt4/qt4.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc
index 861b38d..5a19f65 100644
--- a/recipes/qt4/qt4.inc
+++ b/recipes/qt4/qt4.inc
@@ -265,7 +265,7 @@ do_install() {
# QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here:
for pc in ${D}${libdir}/pkgconfig/*.pc ; do
- sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):includedir}:" \
+ sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):prefix}/include:" \
-e "s,Cflags: ,Cflags: -IP{includedir}/${QT_BASE_NAME}/$(basename $pc .pc) ," \
-e 's:IP{:I${:g' $pc
done
More information about the Openembedded-commits
mailing list