commit: 934d72b8d024c7d7930138d230fc4536a56956c6 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 15:29:58 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Jan 26 11:33:24 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934d72b8
out-of-source.eclass: Support EAPI 9 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/out-of-source.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/out-of-source.eclass b/eclass/out-of-source.eclass index dd54c8933d4e..34720c0c3b8c 100644 --- a/eclass/out-of-source.eclass +++ b/eclass/out-of-source.eclass @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: out-of-source.eclass # @MAINTAINER: # Michał Górny <[email protected]> -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: convenient wrapper to build autotools packages out-of-source # @DESCRIPTION: # This eclass provides a minimalistic wrapper interface to easily @@ -32,14 +32,14 @@ # } # @CODE +if [[ -z ${_OUT_OF_SOURCE_ECLASS} ]]; then +_OUT_OF_SOURCE_ECLASS=1 + case ${EAPI} in - 7|8);; + 7|8|9);; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_OUT_OF_SOURCE_ECLASS} ]]; then -_OUT_OF_SOURCE_ECLASS=1 - # @ECLASS_VARIABLE: BUILD_DIR # @OUTPUT_VARIABLE # @DEFAULT_UNSET
