From f34b76673dc211ec4fd8424fb5188fe4ff641871 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 22 Jun 2021 23:59:02 +0200 Subject: usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- eclass/usr-ldscript.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eclass/usr-ldscript.eclass') diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass index 4ee129bda83..0d9cf11a7ab 100644 --- a/eclass/usr-ldscript.eclass +++ b/eclass/usr-ldscript.eclass @@ -1,18 +1,18 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: usr-ldscript.eclass # @MAINTAINER: # Toolchain Ninjas -# @SUPPORTED_EAPIS: 4 5 6 7 +# @SUPPORTED_EAPIS: 5 6 7 8 # @BLURB: Defines the gen_usr_ldscript function. if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then _USR_LDSCRIPT_ECLASS=1 -case ${EAPI:-0} in - 4|5|6|7) ;; - *) die "EAPI=${EAPI} is not supported" ;; +case ${EAPI} in + 5|6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac inherit multilib toolchain-funcs -- cgit v1.2.3-18-g5258