commit:     eddf34bccd6cbd6f4504b08fc6255d24a1e69375
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 23:59:46 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 00:02:06 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=eddf34bc

qt5-build.eclass: relax qconfig-qtcore.pri insertion to all 5.9 and later

Previously, the check was too restrictive and would not match, for example,
5.10.0. There's no real reason to exclude earlier versions of 5.9 as they're
not currently stable so for simplicity fix this by just dropping the extra
check.

 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 bc477889..25d4136c 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -804,7 +804,7 @@ qt5_install_module_qconfigs() {
                doins "${T}"/${PN}-qconfig.pri
        )
 
-       if [[ ${PN} = qtcore && ${QT5_MINOR_VERSION} -ge 9 && 
${QT5_PATCH_VERSION} -ge 4 ]]; then
+       if [[ ${PN} = qtcore && ${QT5_MINOR_VERSION} -ge 9 ]]; then
                insinto "${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/gentoo
                newins "${D}${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/qconfig.pri 
qconfig-qtcore.pri
        fi

Reply via email to