diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-03-06 18:20:23 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-04-23 20:00:53 +0200 |
commit | 93ad7dd99bd33d9f99ad92104d367a58bc5d912d (patch) | |
tree | 56661b970df3601783b4c06fe1baea1a20cb5424 /eclass/ltprune.eclass | |
parent | epatch.eclass: Ban in EAPI 7 (in favor of eapply) (diff) | |
download | gentoo-93ad7dd99bd33d9f99ad92104d367a58bc5d912d.tar.gz gentoo-93ad7dd99bd33d9f99ad92104d367a58bc5d912d.tar.bz2 gentoo-93ad7dd99bd33d9f99ad92104d367a58bc5d912d.zip |
ltprune.eclass: Ban discouraged eclass in EAPI 7
Diffstat (limited to 'eclass/ltprune.eclass')
-rw-r--r-- | eclass/ltprune.eclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/ltprune.eclass b/eclass/ltprune.eclass index 6b3e93921d96..a8bb4c842bc0 100644 --- a/eclass/ltprune.eclass +++ b/eclass/ltprune.eclass @@ -15,6 +15,13 @@ if [[ -z ${_LTPRUNE_ECLASS} ]]; then +case ${EAPI:-0} in + 0|1|2|3|4|5|6) + ;; + *) + die "${ECLASS}: banned in EAPI=${EAPI}; use 'find' instead";; +esac + inherit toolchain-funcs # @FUNCTION: prune_libtool_files |