commit: 814928330ceb2936feaf0710649cb086cef17ead
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 1 10:53:14 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 3 09:53:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81492833
wxwidgets.eclass: Add EAPI support
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/wxwidgets.eclass | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index aaac074..dc6db5a 100644
--- 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.