commit:     cafc42c9bb93c9ffd6de7e2a557bd7306f017fea
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 22:50:57 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 22:50:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafc42c9

qt5-build.eclass: tweak sed expression to also apply to 5.6.1 and later

 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 9b1a4ab..5c3acd8 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 -re '/(bin\/qmake|QMAKE")/ s/-nocache //' '{}' + 
|| die
+                       sed -i -e 's/-nocache //' '{}' + || die
 
                # Don't inject -msse/-mavx/... into CXXFLAGS when detecting
                # compiler support for extended instruction sets (bug 552942)

Reply via email to