From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- eclass/out-of-source.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eclass/out-of-source.eclass') diff --git a/eclass/out-of-source.eclass b/eclass/out-of-source.eclass index bbac555a7f88..81e03f3894db 100644 --- a/eclass/out-of-source.eclass +++ b/eclass/out-of-source.eclass @@ -1,10 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: out-of-source.eclass # @MAINTAINER: # Michał Górny -# @SUPPORTED_EAPIS: 6 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: convenient wrapper to build autotools packages out-of-source # @DESCRIPTION: # This eclass provides a minimalistic wrapper interface to easily @@ -33,13 +33,12 @@ # @CODE case ${EAPI} in - 6|7);; + 7|8);; *) die "EAPI ${EAPI:-0} unsupported (too old)";; esac -EXPORT_FUNCTIONS src_configure src_compile src_test src_install - if [[ ! ${_OUT_OF_SOURCE_ECLASS} ]]; then +_OUT_OF_SOURCE_ECLASS=1 # @FUNCTION: out-of-source_src_configure # @DESCRIPTION: @@ -121,5 +120,6 @@ out-of-source_src_install() { fi } -_OUT_OF_SOURCE_ECLASS=1 fi + +EXPORT_FUNCTIONS src_configure src_compile src_test src_install -- cgit v1.2.3