mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
eclass/libtool: Sync with Gentoo
It's from Gentoo commit ef47037c0df3bd254d6fe1601c34d24316762fa3.
This commit is contained in:
parent
de985a5696
commit
24da7a9e51
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: libtool.eclass
|
# @ECLASS: libtool.eclass
|
||||||
@ -17,10 +17,10 @@
|
|||||||
if [[ -z ${_LIBTOOL_ECLASS} ]]; then
|
if [[ -z ${_LIBTOOL_ECLASS} ]]; then
|
||||||
_LIBTOOL_ECLASS=1
|
_LIBTOOL_ECLASS=1
|
||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI} in
|
||||||
5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
|
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:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
inherit toolchain-funcs
|
inherit toolchain-funcs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user