diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-10-01 00:21:46 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-10-01 00:22:47 +0200 |
commit | 1434d8dc853a9cc4dd67eef51a63b9641955f9f4 (patch) | |
tree | 00dd99e4a9eaff7c4e46550c5078f4796b430687 /eclass | |
parent | dev-perl/Apache-Test: depend.apache.eclass is incompatible with EAPI=6 (diff) | |
download | gentoo-1434d8dc853a9cc4dd67eef51a63b9641955f9f4.tar.gz gentoo-1434d8dc853a9cc4dd67eef51a63b9641955f9f4.tar.bz2 gentoo-1434d8dc853a9cc4dd67eef51a63b9641955f9f4.zip |
depend.apache.eclass: output a fat warning if used with EAPI=6
We would really need a PMS-supplied eqawarn here...
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/depend.apache.eclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index 22a8216a02d9..5fd9071f504e 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.eclass @@ -42,6 +42,21 @@ inherit multilib +case ${EAPI:-0} in + 0|1|2|3|4|5) + ;; + 6) + ewarn + ewarn "EAPI=${EAPI} is not supported by depend.apache.eclass." + ewarn "This means that ${CATEGORY}/${PVR} is most likely buggy." + ewarn "Please file a report on https://bugs.gentoo.org/" + ewarn + ;; + *) + die "EAPI=${EAPI} is not supported by depend.apache.eclass" + ;; +esac + # ============================================================================== # INTERNAL VARIABLES # ============================================================================== |