1 |
commit: c47eda67b875e004e765d1b5a11d67eff51823ee |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 17:29:56 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 17:29:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=c47eda67 |
7 |
|
8 |
qt5-build.eclass: Add missing RESTRICT+=" !test? ( test )" |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
eclass/qt5-build.eclass | 8 ++++++-- |
13 |
1 file changed, 6 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
16 |
index 503d0c3f..8e586c83 100644 |
17 |
--- a/eclass/qt5-build.eclass |
18 |
+++ b/eclass/qt5-build.eclass |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: qt5-build.eclass |
25 |
@@ -103,7 +103,11 @@ EGIT_REPO_URI=( |
26 |
|
27 |
IUSE="debug test" |
28 |
|
29 |
-[[ ${QT5_BUILD_TYPE} == release ]] && RESTRICT+=" test" # bug 457182 |
30 |
+if [[ ${QT5_BUILD_TYPE} == release ]]; then |
31 |
+ RESTRICT+=" test" # bug 457182 |
32 |
+else |
33 |
+ RESTRICT+=" !test? ( test )" |
34 |
+fi |
35 |
|
36 |
BDEPEND=" |
37 |
dev-lang/perl |