commit:     14cfb40363656f2e860c7ffabe2d5f9dc6bfc16b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 20:45:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 20:59:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14cfb403

autotools.eclass: inherit eutils for < EAPI 7 for eqawarn

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/autotools.eclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 3e6906cb469..12bc559bda7 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
 

Reply via email to