commit:     570116e5ff38141c0326686e71d912f5aebe4ff5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 29 15:18:30 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 29 15:18:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570116e5

waf-utils.eclass: Fix handling WAF_VERBOSE=OFF

Patch-by: Joke Junkie

 eclass/waf-utils.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
index d3e52fc463d..4d02483a927 100644
--- a/eclass/waf-utils.eclass
+++ b/eclass/waf-utils.eclass
@@ -99,7 +99,7 @@ waf-utils_src_configure() {
 waf-utils_src_compile() {
        debug-print-function ${FUNCNAME} "$@"
        local _mywafconfig
-       [[ "${WAF_VERBOSE}" ]] && _mywafconfig="--verbose"
+       [[ ${WAF_VERBOSE} == ON ]] && _mywafconfig="--verbose"
 
        local jobs="--jobs=$(makeopts_jobs)"
        echo "\"${WAF_BINARY}\" build ${_mywafconfig} ${jobs}"

Reply via email to