mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
eclass/libtool: Sync with Gentoo
It's from Gentoo commit 04040326aedc27bd5a8fbe4788ee81c853bbe8d8.
This commit is contained in:
parent
a7e3686f26
commit
6d8c8b22d1
@ -1,12 +1,10 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# Flatcar: Support EAPI 0 and 4.
|
|
||||||
|
|
||||||
# @ECLASS: libtool.eclass
|
# @ECLASS: libtool.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org
|
# base-system@gentoo.org
|
||||||
# @SUPPORTED_EAPIS: 0 4 5 6 7 8
|
# @SUPPORTED_EAPIS: 5 6 7 8
|
||||||
# @BLURB: quickly update bundled libtool code
|
# @BLURB: quickly update bundled libtool code
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# This eclass patches ltmain.sh distributed with libtoolized packages with the
|
# This eclass patches ltmain.sh distributed with libtoolized packages with the
|
||||||
@ -20,7 +18,7 @@ if [[ -z ${_LIBTOOL_ECLASS} ]]; then
|
|||||||
_LIBTOOL_ECLASS=1
|
_LIBTOOL_ECLASS=1
|
||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI:-0} in
|
||||||
0|4|5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
|
5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
|
||||||
7|8) BDEPEND=">=app-portage/elt-patches-20170815" ;;
|
7|8) BDEPEND=">=app-portage/elt-patches-20170815" ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user