From 1379f4c4e586825c69ec2212a07636a840842996 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 27 Mar 2023 07:23:43 +0000 Subject: [PATCH] eclass/waf-utils: Sync with Gentoo It's from Gentoo commit a7241d60c477e8117dcd3794977e16fd7b32ae0a. --- .../third_party/portage-stable/eclass/waf-utils.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/waf-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/waf-utils.eclass index 1be02bbea3..e2a23e66b9 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/waf-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/waf-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: waf-utils.eclass @@ -30,7 +30,7 @@ inherit multilib toolchain-funcs multiprocessing # @DESCRIPTION: # Set to OFF to disable verbose messages during compilation # this is _not_ meant to be set in ebuilds -: ${WAF_VERBOSE:=ON} +: "${WAF_VERBOSE:=ON}" # @ECLASS_VARIABLE: WAF_BINARY # @DESCRIPTION: @@ -67,7 +67,7 @@ waf-utils_src_configure() { fi if [[ ${PYTHON_REQ_USE} != *threads* ]]; then - eerror "Waf requires threading support in Python. To accomodate this requirement," + eerror "Waf requires threading support in Python. To accommodate this requirement," eerror "please add 'threads(+)' to PYTHON_REQ_USE variable (above inherit line)." eerror "For more information and examples, please see:" eerror " https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration" @@ -77,7 +77,7 @@ waf-utils_src_configure() { [[ ${fail} ]] && die "Invalid use of waf-utils.eclass" - : ${WAF_BINARY:="${S}/waf"} + : "${WAF_BINARY:="${S}/waf"}" local conf_args=()