From b400245bb61fcac6a78f95a2ed4cd56d83445835 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 2 Feb 2026 07:28:27 +0000 Subject: [PATCH] eclass/out-of-source: Sync with Gentoo It's from Gentoo commit 934d72b8d024c7d7930138d230fc4536a56956c6. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/out-of-source.eclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/out-of-source.eclass b/sdk_container/src/third_party/portage-stable/eclass/out-of-source.eclass index dd54c8933d..34720c0c3b 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/out-of-source.eclass +++ b/sdk_container/src/third_party/portage-stable/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 -# @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 -case ${EAPI} in - 7|8);; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - if [[ -z ${_OUT_OF_SOURCE_ECLASS} ]]; then _OUT_OF_SOURCE_ECLASS=1 +case ${EAPI} in + 7|8|9);; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + # @ECLASS_VARIABLE: BUILD_DIR # @OUTPUT_VARIABLE # @DEFAULT_UNSET