projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560f2c7
)
kde5-functions.eclass: eerror and die if inherited directly
author
Andreas Sturmlechner
<asturm@gentoo.org>
Tue, 17 Mar 2020 09:55:46 +0000
(10:55 +0100)
committer
Andreas Sturmlechner
<asturm@gentoo.org>
Tue, 17 Mar 2020 09:58:34 +0000
(10:58 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/kde5-functions.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5-functions.eclass
b/eclass/kde5-functions.eclass
index ce438765f38173a58e83e593cfb24836d625c89a..df63e517bef8ed0ca6f692e7ac372dac98972fc4 100644
(file)
--- a/
eclass/kde5-functions.eclass
+++ b/
eclass/kde5-functions.eclass
@@
-16,6
+16,11
@@
if [[ -z ${_KDE5_FUNCTIONS_ECLASS} ]]; then
_KDE5_FUNCTIONS_ECLASS=1
+if [[ -z ${_KDE5_ECLASS} ]]; then
+ eerror "This DEAD eclass must not be inherited directly by an ebuild."
+ die "Removal due on 2020-04-16."
+fi
+
case ${EAPI} in
7) ;;
*) die "EAPI=${EAPI:-0} is not supported" ;;