mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-11 07:06:19 +02:00
eclass/waf-utils: Sync with Gentoo
It's from Gentoo commit a7241d60c477e8117dcd3794977e16fd7b32ae0a.
This commit is contained in:
parent
92f7976dbd
commit
1379f4c4e5
@ -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=()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user