aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2016-02-16 17:44:41 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-20 14:45:13 +0100
commitce361b6eb1659719d62fd0a3e6b0ccfb3f2445d2 (patch)
tree8ceee070d2bc80d975d0009a41cd05695ca0e80d
parente434995a73a83a6604f231d9055b06a261d9f098 (diff)
qtbase: Fix WORKDIR references in pkg-config files
* otherwise all builds fail with: ERROR: QA Issue: Qt5Core.pc failed sanity test (tmpdir) in path qtbase/5.5.99+5.6.0-alpha1+gitAUTOINC+f7f4dde80e-r0/sysroot-destdir//usr/lib/pkgconfig [pkgconfig] since oe-core insane.bbclass was fixed to properly search for tmpdir in all pkg-config files. * this issue was there for long time, I've checked the build with jethro branch and it already has prefix=<TOPDIR>/tmp-glibc/sysroots/qemux86/usr it just wasn't detected by QA checks until now
-rw-r--r--recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch17
1 files changed, 11 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
index 062db89d..188ac4d8 100644
--- a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
+++ b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
@@ -1,4 +1,4 @@
-From 43305bc5cfe1db5021abb1bf2806dcc63b31f176 Mon Sep 17 00:00:00 2001
+From f1f05d7b671b973903d9c0d411207bcc82a9a9d8 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 27 Apr 2013 23:15:37 +0200
Subject: [PATCH 04/10] qt_module: Fix pkgconfig and libtool replacements
@@ -63,8 +63,8 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
mkspecs/features/qt_common.prf | 2 +-
- mkspecs/features/qt_module.prf | 11 +++++++++++
- 2 files changed, 12 insertions(+), 1 deletion(-)
+ mkspecs/features/qt_module.prf | 16 ++++++++++++++++
+ 2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
index 38602f6..f9c401f 100644
@@ -80,10 +80,10 @@ index 38602f6..f9c401f 100644
lib_replace.CONFIG = path
QMAKE_PRL_INSTALL_REPLACE += lib_replace
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
-index e543ea6..0624ce2 100644
+index e543ea6..4a76851 100644
--- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf
-@@ -273,6 +273,17 @@ load(qt_targets)
+@@ -273,6 +273,22 @@ load(qt_targets)
ltlib_replace.replace = $$QMAKE_LIBTOOL_LIBDIR
ltlib_replace.CONFIG = path
QMAKE_LIBTOOL_INSTALL_REPLACE += ltlib_replace
@@ -93,6 +93,11 @@ index e543ea6..0624ce2 100644
+ pkgconfig_include_replace.CONFIG = path
+ QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_include_replace
+
++ pkgconfig_prefix_replace.match = "prefix=$$[QT_SYSROOT]"
++ pkgconfig_prefix_replace.replace = "prefix="
++ pkgconfig_prefix_replace.CONFIG = path
++ QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_prefix_replace
++
+ # drop -L/usr/lib in .prl files
+ prl_replace.match = "-L\$${libdir}"
+ prl_replace.replace = ""
@@ -102,5 +107,5 @@ index e543ea6..0624ce2 100644
contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
--
-2.7.0
+2.7.1