Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: eclass/
Date: Tue, 25 Aug 2020 14:51:18
Message-Id: 1598366687.f21fdf41091eb03a10dce8e7491b6f7a78196a49.asturm@gentoo
1 commit: f21fdf41091eb03a10dce8e7491b6f7a78196a49
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 17:56:39 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 25 14:44:47 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=f21fdf41
7
8 kde4-base.eclass: Fix MissingTestRestrict if CPPUNIT_REQUIRED=optional
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 eclass/kde4-base.eclass | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
16 index d8e922ec..92e8164e 100644
17 --- a/eclass/kde4-base.eclass
18 +++ b/eclass/kde4-base.eclass
19 @@ -339,6 +339,7 @@ case ${CPPUNIT_REQUIRED} in
20 optional)
21 IUSE+=" test"
22 DEPEND+=" test? ( ${cppuintdepend} )"
23 + RESTRICT+=" !test? ( test )"
24 ;;
25 *) ;;
26 esac