mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
eclass/libtool: Sync with Gentoo
It's from Gentoo commit be762c7c299606c67f9d15290f53be8156697a10.
This commit is contained in:
parent
8fb7c50c25
commit
85222d3221
@ -4,7 +4,7 @@
|
||||
# @ECLASS: libtool.eclass
|
||||
# @MAINTAINER:
|
||||
# base-system@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
|
||||
@ -18,19 +18,11 @@ if [[ -z ${_LIBTOOL_ECLASS} ]]; then
|
||||
_LIBTOOL_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
6)
|
||||
ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
|
||||
ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI."
|
||||
;;
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
case ${EAPI} in
|
||||
6) DEPEND=">=app-portage/elt-patches-20240116" ;;
|
||||
7|8) BDEPEND=">=app-portage/elt-patches-20240116" ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
BDEPEND=">=app-portage/elt-patches-20240116"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user