commit: 932db652b0e2a855f70d0fa2f1ed1e1efd3e0127
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 08:47:13 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 08:47:16 2015 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=932db652
cmake-utils.eclass: ban WANT_CMAKE in EAPI 6 and later
It is basically unused across the tree and complicates the eclass. If it were
needed, it might be better to write custom ebuild phase functions instead.
eclass/cmake-utils.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 7810a26..c3184bd 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -126,6 +126,7 @@ case ${WANT_CMAKE} in
always)
;;
*)
+ ! has "${EAPI:-0}" 2 3 4 5 && die "WANT_CMAKE is banned in EAPI
6 and later"
IUSE+=" ${WANT_CMAKE}"
CMAKEDEPEND+="${WANT_CMAKE}? ( "
;;