From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D03751396DB for ; Mon, 23 Oct 2017 23:19:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 088A1E0F0A; Mon, 23 Oct 2017 23:19:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DBD3EE0F0A for ; Mon, 23 Oct 2017 23:19:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8FF2933C27B for ; Mon, 23 Oct 2017 23:19:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 195A382E for ; Mon, 23 Oct 2017 23:19:50 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1508800772.bf806ee6299c1e3d78ab7db193f981fe38768fde.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bf806ee6299c1e3d78ab7db193f981fe38768fde X-VCS-Branch: master Date: Mon, 23 Oct 2017 23:19:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2cb9dba6-d858-4aca-b824-d9efe26b6415 X-Archives-Hash: a411b86ee991ebef4282ff49852e958b commit: bf806ee6299c1e3d78ab7db193f981fe38768fde Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Oct 23 22:08:04 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Oct 23 23:19:32 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=bf806ee6 kde5.eclass: Don't add BUILD_TESTING=OFF if test not in IUSE eclass/kde5.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 52e063c5a6..67ac4ac165 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -619,7 +619,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