From c8e74a7dfe477dea008548553141f083c5d03782 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 28 Apr 2022 17:24:20 +0100 Subject: autotools.eclass: fix EAPI 8 conditional; simplify Signed-off-by: Sam James --- eclass/autotools.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index c275c83d55c2..e6658e361318 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -393,8 +393,8 @@ eautoconf() { if [[ ${WANT_AUTOCONF} != "2.1" && -e configure.in ]] ; then - case ${EAPI:-0} in - 0|1|2|3|4|5|6|7) + case ${EAPI} in + 5|6|7) eqawarn "This package has a configure.in file which has long been deprecated. Please" eqawarn "update it to use configure.ac instead as newer versions of autotools will die" eqawarn "when it finds this file. See https://bugs.gentoo.org/426262 for details." @@ -519,7 +519,7 @@ autotools_env_setup() { 5|6) hv_args="--host-root" ;; - 7) + *) hv_args="-b" ;; esac -- cgit v1.2.3-65-gdbad