projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e42934
)
wxwidgets.eclass: Add EAPI support
author
Justin Lecher
<jlec@gentoo.org>
Mon, 1 Feb 2016 10:53:14 +0000
(11:53 +0100)
committer
Justin Lecher
<jlec@gentoo.org>
Wed, 3 Feb 2016 09:53:01 +0000
(10:53 +0100)
Signed-off-by: Justin Lecher <jlec@gentoo.org>
eclass/wxwidgets.eclass
patch
|
blob
|
history
diff --git
a/eclass/wxwidgets.eclass
b/eclass/wxwidgets.eclass
index aaac074ac51c6826a313b2e48d2e7a5e11c7b596..dc6db5a8d0bdc4761737ddbd112ca912a700aa5c 100644
(file)
--- a/
eclass/wxwidgets.eclass
+++ b/
eclass/wxwidgets.eclass
@@
-60,7
+60,14
@@
if [[ -z ${_WXWIDGETS_ECLASS} ]]; then
-inherit eutils flag-o-matic multilib
+case ${EAPI} in
+ 0|1|2|3|4|5)
+ inherit eutils flag-o-matic multilib
+ ;;
+ *)
+ die "EAPI=${EAPI:-0} is not supported"
+ ;;
+esac
# We do this in global scope so ebuilds can get sane defaults just by
# inheriting.