summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-01 18:29:56 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-05 23:30:18 +0100
commit776b9261e6363adf38588e05731b9007ec30c172 (patch)
tree61feab74642788e8228fef6581b2679dcf4f8925 /eclass/qt5-build.eclass
parentprofiles/arch/s390/s390x: unmask dev-libs/libpcre2[jit] here (diff)
downloadgentoo-776b9261e6363adf38588e05731b9007ec30c172.tar.gz
gentoo-776b9261e6363adf38588e05731b9007ec30c172.tar.bz2
gentoo-776b9261e6363adf38588e05731b9007ec30c172.zip
qt5-build.eclass: Add missing RESTRICT+=" !test? ( test )"
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 99fe5db77053..a3c7b8ed8026 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: qt5-build.eclass
@@ -103,7 +103,11 @@ EGIT_REPO_URI=(
IUSE="debug test"
-[[ ${QT5_BUILD_TYPE} == release ]] && RESTRICT+=" test" # bug 457182
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ RESTRICT+=" test" # bug 457182
+else
+ RESTRICT+=" !test? ( test )"
+fi
BDEPEND="
dev-lang/perl