commit:     ff79c14ece9b5fbd2e13a897e67d37ab241a3b68
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 18:00:42 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 17:22:50 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=ff79c14e

qt5-build.eclass: Disable 'global_docs'

The global_docs target is not needed any longer due to the following
upstream change:

http://code.qt.io/cgit/qt/qtbase.git/commit/?id=a7ddef139415f74f9ba8dc84a2f15105149ca5e8

Gentoo-Bug: https://bugs.gentoo.org/596054

 eclass/qt5-build.eclass | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index f66fde0..9727ce7 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -283,9 +283,18 @@ qt5-build_src_install() {
                        
qmake_install_target=sub-qmake-qmake-aux-pro-install_subtargets
                fi
 
-               set -- emake INSTALL_ROOT="${D}" \
-                       ${qmake_install_target} \
-                       install_{syncqt,mkspecs,global_docs}
+               if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then
+
+                       set -- emake INSTALL_ROOT="${D}" \
+                               ${qmake_install_target} \
+                               install_{syncqt,mkspecs}
+               else
+
+                       set -- emake INSTALL_ROOT="${D}" \
+                               ${qmake_install_target} \
+                               install_{syncqt,mkspecs,global_docs}
+               fi
+
                einfo "Running $*"
                "$@"
 

Reply via email to