From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CAD85138334 for ; Fri, 21 Sep 2018 15:51:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41466E0866; Fri, 21 Sep 2018 15:51:46 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C278DE0824 for ; Fri, 21 Sep 2018 15:51:45 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward105p.mail.yandex.net (Yandex) with ESMTP id A3641408239D for ; Fri, 21 Sep 2018 18:51:43 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XdE7zQgq1K-phH08voM; Fri, 21 Sep 2018 18:51:43 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1537545103; bh=EoqlG66YbqwcU10mipXphBhXJlCsLa8WFVxwSsQKNO4=; h=Date:From:To:Subject:Message-ID; b=pXnBj59uPwnPi0fq1oHvlxQcn4CeguTfmB31KaP6R9b8F89gohnnXyhK8LHsxmKEj f/F49n0bk/iIMmwsHad/JAs6mibm+vmE/Qjg6bGKlunmzA/6pDaetDNDtz6ffhmX9t HZLlMQevllb0zL6x0eUOzrCO1AAk/k+uUJsC8J40= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vIXH38Iaqj-pgcSbb3I; Fri, 21 Sep 2018 18:51:42 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1537545102; bh=EoqlG66YbqwcU10mipXphBhXJlCsLa8WFVxwSsQKNO4=; h=Date:From:To:Subject:Message-ID; b=IoWiuN/eFXPTBmo5IAaezYFSnFzGNk43eyutf42vecPoVTUrnjBFRBkptjAMR8/e8 PpDZVVvRguAt5ftPKhKMMwF6PU77srMMKkgV2a+hCvGEmBm8x/WWll+wAnwmTE+AVS W4Ej4ZvBTLlVVkCDk6ptS7G6t1WeLLPcVgjwnRyI= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Fri, 21 Sep 2018 18:51:42 +0300 From: Victor Kustov To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH] eclass/waf-utils.eclass: add parameters to compile and install Message-ID: <20180921185142.5a665ece@bkstv.local> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: cf6f96d2-41d7-4c16-9b0f-2673a7305861 X-Archives-Hash: 5afb8ff9b4647b49b7b5782b84a2408a [1] https://github.com/gentoo/gentoo/pull/9533#discussion_r211739558 This patch add parameters to compile and install phases in waf-utils eclass. Need to solve [1] --- eclass/waf-utils.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 4d02483a927..33515b883b5 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -102,8 +102,8 @@ waf-utils_src_compile() { [[ ${WAF_VERBOSE} == ON ]] && _mywafconfig="--verbose" local jobs="--jobs=$(makeopts_jobs)" - echo "\"${WAF_BINARY}\" build ${_mywafconfig} ${jobs}" - "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed" + echo "\"${WAF_BINARY}\" $@ build ${_mywafconfig} ${jobs}" + "${WAF_BINARY}" $@ ${_mywafconfig} ${jobs} || die "build failed" } # @FUNCTION: waf-utils_src_install @@ -112,8 +112,8 @@ waf-utils_src_compile() { waf-utils_src_install() { debug-print-function ${FUNCNAME} "$@" - echo "\"${WAF_BINARY}\" --destdir=\"${D}\" install" - "${WAF_BINARY}" --destdir="${D}" install || die "Make install failed" + echo "\"${WAF_BINARY}\" --destdir=\"${D}\" \"$@\" install" + "${WAF_BINARY}" --destdir="${D}" "$@" install || die "Make install failed" # Manual document installation einstalldocs -- 2.16.4