Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Mon, 23 Oct 2017 23:19:53
Message-Id: 1508800772.bf806ee6299c1e3d78ab7db193f981fe38768fde.asturm@gentoo
1 commit: bf806ee6299c1e3d78ab7db193f981fe38768fde
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 23 22:08:04 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 23 23:19:32 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=bf806ee6
7
8 kde5.eclass: Don't add BUILD_TESTING=OFF if test not in IUSE
9
10 eclass/kde5.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
14 index 52e063c5a6..67ac4ac165 100644
15 --- a/eclass/kde5.eclass
16 +++ b/eclass/kde5.eclass
17 @@ -619,7 +619,7 @@ kde5_src_configure() {
18
19 local cmakeargs
20
21 - if ! use_if_iuse test ; then
22 + if in_iuse test && ! use test ; then
23 cmakeargs+=( -DBUILD_TESTING=OFF )
24
25 if [[ ${KDE_TEST} = optional ]] ; then