diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-01 11:53:14 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-03 10:53:01 +0100 |
commit | 814928330ceb2936feaf0710649cb086cef17ead (patch) | |
tree | 00315716a219cbb3191af5c847df5346a2c8e1b9 /eclass/wxwidgets.eclass | |
parent | wxwidgets.eclass: Only inherit eclass once (diff) | |
download | gentoo-814928330ceb2936feaf0710649cb086cef17ead.tar.gz gentoo-814928330ceb2936feaf0710649cb086cef17ead.tar.bz2 gentoo-814928330ceb2936feaf0710649cb086cef17ead.zip |
wxwidgets.eclass: Add EAPI support
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r-- | eclass/wxwidgets.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index aaac074ac51c..dc6db5a8d0bd 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. |