summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-06-21 12:08:44 +0200
committerUlrich Müller <ulm@gentoo.org>2021-06-23 12:21:34 +0200
commit04040326aedc27bd5a8fbe4788ee81c853bbe8d8 (patch)
treea13b774c932e9e0523adcc012879e94b0aae9434 /eclass/libtool.eclass
parentmultilib.eclass: Update a comment (diff)
downloadgentoo-04040326aedc27bd5a8fbe4788ee81c853bbe8d8.tar.gz
gentoo-04040326aedc27bd5a8fbe4788ee81c853bbe8d8.tar.bz2
gentoo-04040326aedc27bd5a8fbe4788ee81c853bbe8d8.zip
libtool.eclass: Support EAPI 8
Drop support for EAPIs 0 to 4. Remove uclibctoolize and darwintoolize (after 10+ years). Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r--eclass/libtool.eclass11
1 files changed, 4 insertions, 7 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 4565c8a8f6f8..a38f41588289 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -1,10 +1,10 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: libtool.eclass
# @MAINTAINER:
# base-system@gentoo.org
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7 8
# @BLURB: quickly update bundled libtool code
# @DESCRIPTION:
# This eclass patches ltmain.sh distributed with libtoolized packages with the
@@ -18,8 +18,8 @@ if [[ -z ${_LIBTOOL_ECLASS} ]]; then
_LIBTOOL_ECLASS=1
case ${EAPI:-0} in
- 0|1|2|3|4|5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
- 7) BDEPEND=">=app-portage/elt-patches-20170815" ;;
+ 5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
+ 7|8) BDEPEND=">=app-portage/elt-patches-20170815" ;;
*) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
esac
@@ -43,7 +43,4 @@ elibtoolize() {
eltpatch "${@}" || die "eltpatch failed"
}
-uclibctoolize() { die "Use elibtoolize"; }
-darwintoolize() { die "Use elibtoolize"; }
-
fi