diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-02-01 18:03:51 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-02-01 18:03:51 -0600 |
commit | 6fbf5c7abd6096d697c03c60f53767aab0f89881 (patch) | |
tree | 6d4b6db02fe36bdab33b27e6666d6ef388c6827d /eclass | |
parent | eclass/toolchain.eclass: Add := operators to a number of critical deps (diff) | |
download | gentoo-6fbf5c7abd6096d697c03c60f53767aab0f89881.tar.gz gentoo-6fbf5c7abd6096d697c03c60f53767aab0f89881.tar.bz2 gentoo-6fbf5c7abd6096d697c03c60f53767aab0f89881.zip |
eclass/toolchain.eclass: die early in case of EAPI < 5
With the latest changes (slot operators) we need at least EAPI 5 when
inheriting toolchain.eclass. Thus, in case of EAPI=4, die early with a
more descriptive error message.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index ef42b338fd38..03e44c420046 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -24,8 +24,8 @@ fi FEATURES=${FEATURES/multilib-strict/} case ${EAPI:-0} in - 0|1|2|3) die "Need to upgrade to at least EAPI=4" ;; - 4*|5*) ;; + 0|1|2|3|4*) die "Need to upgrade to at least EAPI=5" ;; + 5*) ;; *) die "I don't speak EAPI ${EAPI}." ;; esac EXPORT_FUNCTIONS pkg_pretend pkg_setup src_unpack src_prepare src_configure \ |