commit:     c5a8bc30c940374a54bac471f8c116c14448c9cf
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 30 20:35:12 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun  1 08:50:14 2020 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=c5a8bc30

qt5-build.eclass: Drop obsolete pre-Qt-5.14.2 quirks

Bug: https://bugs.gentoo.org/676948
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/qt5-build.eclass | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index cd2e19b0..8531d129 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -104,11 +104,7 @@ EGIT_REPO_URI=(
 # @OUTPUT_VARIABLE
 # @DESCRIPTION:
 # Build directory for out-of-source builds.
-if ver_test ${PV} -lt 5.14.2; then
-       : ${QT5_BUILD_DIR:=${S}} # workaround for bug 497312
-else
-       : ${QT5_BUILD_DIR:=${S}_build}
-fi
+: ${QT5_BUILD_DIR:=${S}_build}
 
 IUSE="debug test"
 
@@ -663,9 +659,7 @@ qt5_base_configure() {
        # config to always be used. bug 599636
        # ${S}/include does not exist in live sources
        local basedir="${S}/"
-       if ver_test ${PV} -lt 5.14.2 || [[ ${QT5_BUILD_TYPE} == live ]]; then
-               basedir=""
-       fi
+       [[ ${QT5_BUILD_TYPE} == live ]] && basedir=""
        cp src/corelib/global/qconfig.h "${basedir}"include/QtCore/ || die
 
        popd >/dev/null || die

Reply via email to