commit:     942576847685e455639de9c2f6f431d42ee83445
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 22:34:45 2015 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 22:34:45 2015 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=94257684

qt5-build.eclass: disable configure options that are new in 5.6

Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>

 eclass/qt5-build.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index b274cf6..0359315 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -546,6 +546,7 @@ qt5_base_configure() {
                # disable everything to prevent automagic deps (part 1)
                -no-mtdev
                -no-journald
+               $([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -no-syslog)
                -no-libpng -no-libjpeg
                -no-freetype -no-harfbuzz
                -no-openssl
@@ -608,7 +609,8 @@ qt5_base_configure() {
                #-use-gold-linker
 
                # disable all platform plugins by default, override in qtgui
-               -no-xcb -no-eglfs -no-directfb -no-linuxfb -no-kms
+               -no-xcb -no-eglfs -no-kms -no-directfb -no-linuxfb
+               $([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -no-mirclient)
 
                # disable undocumented X11-related flags, override in qtgui
                # (not shown in ./configure -help output)

Reply via email to