Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Cc: David Seifert <soap@g.o>
Subject: [gentoo-dev] [PATCH 12/22] libtool.eclass: remove EAPI 5
Date: Tue, 14 Mar 2023 20:02:15
Message-Id: 20230314195826.35239-12-soap@gentoo.org
In Reply to: [gentoo-dev] [PATCH 01/22] apache-module.eclass: remove EAPI 5 by David Seifert
1 Signed-off-by: David Seifert <soap@g.o>
2 ---
3 eclass/libtool.eclass | 8 ++++----
4 1 file changed, 4 insertions(+), 4 deletions(-)
5
6 diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
7 index a38f41588289..9797b22aabff 100644
8 --- a/eclass/libtool.eclass
9 +++ b/eclass/libtool.eclass
10 @@ -1,4 +1,4 @@
11 -# Copyright 1999-2021 Gentoo Authors
12 +# Copyright 1999-2023 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: libtool.eclass
16 @@ -17,10 +17,10 @@
17 if [[ -z ${_LIBTOOL_ECLASS} ]]; then
18 _LIBTOOL_ECLASS=1
19
20 -case ${EAPI:-0} in
21 - 5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
22 +case ${EAPI} in
23 + 6) DEPEND=">=app-portage/elt-patches-20170815" ;;
24 7|8) BDEPEND=">=app-portage/elt-patches-20170815" ;;
25 - *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
26 + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
27 esac
28
29 inherit toolchain-funcs
30 --
31 2.40.0