commit: 50710f3d0e8f19fab5571d9596c336314e96b5cf Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu May 26 15:15:58 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Jul 18 16:04:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50710f3d
autotools.eclass: Drop support for EAPI 5 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/autotools.eclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 025a93d207a4..ab9040d99c73 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -4,7 +4,7 @@ # @ECLASS: autotools.eclass # @MAINTAINER: # [email protected] -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: Regenerates auto* build scripts # @DESCRIPTION: # This eclass is for safely handling autotooled software packages that need to @@ -27,7 +27,7 @@ if [[ -z ${_AUTOTOOLS_ECLASS} ]] ; then _AUTOTOOLS_ECLASS=1 case ${EAPI} in - 5|6) + 6) # Needed for eqawarn inherit eutils ;; @@ -130,7 +130,7 @@ RDEPEND="" : ${AUTOTOOLS_AUTO_DEPEND:=yes} if [[ ${AUTOTOOLS_AUTO_DEPEND} != "no" ]] ; then case ${EAPI} in - 5|6) DEPEND=${AUTOTOOLS_DEPEND} ;; + 6) DEPEND=${AUTOTOOLS_DEPEND} ;; *) BDEPEND=${AUTOTOOLS_DEPEND} ;; esac fi @@ -336,7 +336,7 @@ eaclocal() { # - ${BROOT}/usr/share/aclocal # - ${ESYSROOT}/usr/share/aclocal # See bug #677002 - if [[ ${EAPI} != [56] ]] ; then + if [[ ${EAPI} != 6 ]] ; then if [[ ! -f "${T}"/aclocal/dirlist ]] ; then mkdir "${T}"/aclocal || die cat <<- EOF > "${T}"/aclocal/dirlist || die @@ -394,7 +394,7 @@ eautoconf() { if [[ ${WANT_AUTOCONF} != "2.1" && -e configure.in ]] ; then case ${EAPI} in - 5|6|7) + 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." @@ -485,7 +485,7 @@ config_rpath_update() { local dst src case ${EAPI} in - 5|6) + 6) src="${EPREFIX}/usr/share/gettext/config.rpath" ;; *) @@ -516,7 +516,7 @@ autotools_env_setup() { # Break on first hit to respect _LATEST_AUTOMAKE order. local hv_args="" case ${EAPI} in - 5|6) + 6) hv_args="--host-root" ;; *)
