diff options
Diffstat (limited to 'eclass/out-of-source.eclass')
-rw-r--r-- | eclass/out-of-source.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
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 <mgorny@gentoo.org> -# @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 |