From 14cfb40363656f2e860c7ffabe2d5f9dc6bfc16b Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 27 Mar 2021 20:45:56 +0000 Subject: [PATCH] autotools.eclass: inherit eutils for < EAPI 7 for eqawarn Signed-off-by: Sam James --- eclass/autotools.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 3e6906cb469a5..12bc559bda755 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