commit:     ab4ed663cee3126d99e6638a0607531d589194be
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 13 20:28:01 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 20:28:01 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=ab4ed663

qt5-build.eclass: tweak sed to apply to 5.7's config.tests

 eclass/qt5-build.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 0a54bed..31a5b65 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -199,7 +199,7 @@ qt5-build_src_prepare() {
 
                # Respect toolchain and flags in config.tests
                find config.tests/unix -name '*.test' -type f -execdir \
-                       sed -i -e '/bin\/qmake/ s/-nocache //' '{}' + || die
+                       sed -i -re '/(bin\/qmake|QMAKE")/ s/-nocache //' '{}' + 
|| die
 
                # Don't add -O3 to CXXFLAGS (bug 549140)
                sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \

Reply via email to