diff options
author | 2021-07-15 10:29:50 +0100 | |
---|---|---|
committer | 2021-07-15 10:52:40 +0100 | |
commit | 776c77bf7d8f46760b347baa3420f44d7734b4d1 (patch) | |
tree | c4e17f7bea270f90813cf89b1a8621c617685661 /eclass/toolchain.eclass | |
parent | net-fs/samba: Adjusted a postinst message (diff) | |
download | gentoo-776c77bf7d8f46760b347baa3420f44d7734b4d1.tar.gz gentoo-776c77bf7d8f46760b347baa3420f44d7734b4d1.tar.bz2 gentoo-776c77bf7d8f46760b347baa3420f44d7734b4d1.zip |
toolchain.eclass: standardize unsupported EAPI error message
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c07d483fd1f0..2ac7a2da55ea 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -30,10 +30,9 @@ fi FEATURES=${FEATURES/multilib-strict/} case ${EAPI:-0} in - 0|1|2|3|4*) die "Need to upgrade to at least EAPI=5" ;; 5*|6) inherit eapi7-ver ;; 7) ;; - *) die "I don't speak EAPI ${EAPI}." ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac EXPORT_FUNCTIONS pkg_pretend pkg_setup src_unpack src_prepare src_configure \ |