qt5-build.eclass: unset variables that, if set, cause configure to fail
authorMichael Palimaka <kensington@gentoo.org>
Mon, 9 Oct 2017 13:14:46 +0000 (00:14 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Tue, 10 Oct 2017 11:15:46 +0000 (22:15 +1100)
Closes: https://bugs.gentoo.org/633838

eclass/qt5-build.eclass

index d933767b4a525578560a5024a3f86e1761f41482..76dfc9b425ae91b20933a3c3f95c4fe01cfc32d7 100644 (file)
@@ -519,6 +519,11 @@ qt5_base_configure() {
        tc-export AR CC CXX OBJDUMP RANLIB STRIP
        export LD="$(tc-getCXX)"
 
+       # bug 633838
+       if [[ ${QT5_MINOR_VERSION} -ge 9 ]]; then
+               unset QMAKESPEC XQMAKESPEC QMAKEPATH QMAKEFEATURES
+       fi
+
        # configure arguments
        local conf=(
                # installation paths