summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-24 00:08:04 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-26 10:22:33 +0200
commitcbd8067af84cfbe52d9a44c93a15270259d23209 (patch)
treebc5f32734452beb56b3c405b394d3498eea3d8f5 /eclass
parentkde5.eclass: Drop obsolete SRC_URI (diff)
downloadgentoo-cbd8067af84cfbe52d9a44c93a15270259d23209.tar.gz
gentoo-cbd8067af84cfbe52d9a44c93a15270259d23209.tar.bz2
gentoo-cbd8067af84cfbe52d9a44c93a15270259d23209.zip
kde5.eclass: Don't add BUILD_TESTING=OFF if test not in IUSE
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index fba09c011861..da0faafec26b 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -620,7 +620,7 @@ kde5_src_configure() {
local cmakeargs
- if ! use_if_iuse test ; then
+ if in_iuse test && ! use test ; then
cmakeargs+=( -DBUILD_TESTING=OFF )
if [[ ${KDE_TEST} = optional ]] ; then