eclass/toolchain-autoconf: Sync with gentoo

It's from gentoo commit cccda081740a2039c4af52e11f1afbf9bc1ecf59.
This commit is contained in:
Krzesimir Nowak 2022-01-04 18:32:20 +01:00
parent c1d951b5b8
commit 931079cc72

View File

@ -1,10 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation # Copyright 1999-2019 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: toolchain-autoconf.eclass # @ECLASS: toolchain-autoconf.eclass
# @MAINTAINER: # @MAINTAINER:
# <base-system@gentoo.org> # <base-system@gentoo.org>
# @SUPPORTED_EAPIS: 6 # @SUPPORTED_EAPIS: 6 7
# @BLURB: Common code for sys-devel/autoconf ebuilds # @BLURB: Common code for sys-devel/autoconf ebuilds
# @DESCRIPTION: # @DESCRIPTION:
# This eclass contains the common phase functions migrated from # This eclass contains the common phase functions migrated from
@ -14,7 +14,7 @@ case ${EAPI:-0} in
[0-5]) [0-5])
die "${ECLASS} is banned in EAPI ${EAPI:-0}" die "${ECLASS} is banned in EAPI ${EAPI:-0}"
;; ;;
6) [6-7])
;; ;;
*) *)
die "Unknown EAPI ${EAPI:-0}" die "Unknown EAPI ${EAPI:-0}"