summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-13 19:46:33 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-14 00:52:53 +0100
commitad4c142684afb096e8fff2937ae5c5c3385dd22e (patch)
tree3653116b7bbc8e0953e8e4eeaf3dc4c4df4a5d11 /eclass
parentbase.eclass: Ban for EAPI=6 (diff)
downloadgentoo-ad4c142684afb096e8fff2937ae5c5c3385dd22e.tar.gz
gentoo-ad4c142684afb096e8fff2937ae5c5c3385dd22e.tar.bz2
gentoo-ad4c142684afb096e8fff2937ae5c5c3385dd22e.zip
autotools-{utils,multilib}.eclass: Ban for EAPI=6
Ban autotools-utils.eclass and dependant autotools-multilib.eclass for EAPI=6 to avoid them being accidentally enabled. The former eclass should be replaced with inline code, the latter with multilib-minimal.eclass.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools-multilib.eclass1
-rw-r--r--eclass/autotools-utils.eclass1
2 files changed, 2 insertions, 0 deletions
diff --git a/eclass/autotools-multilib.eclass b/eclass/autotools-multilib.eclass
index 758a6191cedb..0141bc6a86bd 100644
--- a/eclass/autotools-multilib.eclass
+++ b/eclass/autotools-multilib.eclass
@@ -21,6 +21,7 @@
# EAPI=4 is required for meaningful MULTILIB_USEDEP.
case ${EAPI:-0} in
+ 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
4|5) ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index de3c65a78303..b850cf7af1a6 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -89,6 +89,7 @@
# Keep variable names synced with cmake-utils and the other way around!
case ${EAPI:-0} in
+ 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
2|3|4|5) ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac