summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-27 20:45:56 +0000
committerSam James <sam@gentoo.org>2021-04-11 20:59:43 +0000
commit14cfb40363656f2e860c7ffabe2d5f9dc6bfc16b (patch)
treed4c186b3a39f2de45c26d8e88659278e089f1c28 /eclass
parentsys-power/sispmctl: drop old version (diff)
downloadgentoo-14cfb40363656f2e860c7ffabe2d5f9dc6bfc16b.tar.gz
gentoo-14cfb40363656f2e860c7ffabe2d5f9dc6bfc16b.tar.bz2
gentoo-14cfb40363656f2e860c7ffabe2d5f9dc6bfc16b.zip
autotools.eclass: inherit eutils for < EAPI 7 for eqawarn
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 3e6906cb469a..12bc559bda75 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -27,7 +27,11 @@ if [[ -z ${_AUTOTOOLS_ECLASS} ]]; then
_AUTOTOOLS_ECLASS=1
case ${EAPI:-0} in
- 0|1|2|3|4|5|6|7) ;;
+ 0|1|2|3|4|5|6)
+ # Needed for eqawarn
+ inherit eutils
+ ;;
+ 7) ;;
*) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
esac