summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-28 17:24:20 +0100
committerSam James <sam@gentoo.org>2022-04-28 17:24:20 +0100
commitc8e74a7dfe477dea008548553141f083c5d03782 (patch)
treec98bccc24e8f290acc197d15aa9afdf776ca00af /eclass/autotools.eclass
parentmedia-video/pipewire: drop 0.3.50-r1 (diff)
downloadgentoo-c8e74a7dfe477dea008548553141f083c5d03782.tar.gz
gentoo-c8e74a7dfe477dea008548553141f083c5d03782.tar.bz2
gentoo-c8e74a7dfe477dea008548553141f083c5d03782.zip
autotools.eclass: fix EAPI 8 conditional; simplify
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 3 insertions, 3 deletions
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