commit:     77126e954de960a466e4d3a9a8a8cfc1618310b3
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 12:05:40 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 12:08:04 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=77126e95

qt5-build.eclass: stop passing removed configure options

See qtbase commit 4cb795cbdbc4d117c9de623b086975ebdf1f9a15

Gentoo-Bug: 581318

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

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 30ef6db..8059167 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -631,8 +631,7 @@ qt5_base_configure() {
                -no-xkb -no-xrender
 
                # disable obsolete/unused X11-related flags
-               # (not shown in ./configure -help output)
-               -no-mitshm -no-xcursor -no-xfixes -no-xrandr -no-xshape 
-no-xsync
+               $([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -no-mitshm 
-no-xcursor -no-xfixes -no-xrandr -no-xshape -no-xsync)
 
                # always enable session management support: it doesn't need 
extra deps
                # at configure time and turning it off is dangerous, see bug 
518262

Reply via email to