summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-06 18:20:23 +0100
committerMichał Górny <mgorny@gentoo.org>2018-04-23 20:00:53 +0200
commit93ad7dd99bd33d9f99ad92104d367a58bc5d912d (patch)
tree56661b970df3601783b4c06fe1baea1a20cb5424 /eclass
parentepatch.eclass: Ban in EAPI 7 (in favor of eapply) (diff)
downloadgentoo-93ad7dd99bd33d9f99ad92104d367a58bc5d912d.tar.gz
gentoo-93ad7dd99bd33d9f99ad92104d367a58bc5d912d.tar.bz2
gentoo-93ad7dd99bd33d9f99ad92104d367a58bc5d912d.zip
ltprune.eclass: Ban discouraged eclass in EAPI 7
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ltprune.eclass7
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