Signed-off-by: David Seifert <s...@gentoo.org> --- eclass/libtool.eclass | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index bd6141e1ede9..95019359da7d 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -4,7 +4,7 @@ # @ECLASS: libtool.eclass # @MAINTAINER: # base-sys...@gentoo.org -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: quickly update bundled libtool code # @DESCRIPTION: # This eclass patches ltmain.sh distributed with libtoolized packages with the @@ -14,15 +14,16 @@ # generated libtool files. We do not run the libtoolize program because that # requires a regeneration of the main autotool files in order to work properly. -if [[ -z ${_LIBTOOL_ECLASS} ]]; then -_LIBTOOL_ECLASS=1 - case ${EAPI} in - 6) DEPEND=">=app-portage/elt-patches-20240116" ;; - 7|8) BDEPEND=">=app-portage/elt-patches-20240116" ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ -z ${_LIBTOOL_ECLASS} ]]; then +_LIBTOOL_ECLASS=1 + +BDEPEND=">=app-portage/elt-patches-20240116" + inherit toolchain-funcs # @FUNCTION: elibtoolize -- 2.46.0