public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Victor Kustov <ktrace@yandex.ru>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH] eclass/waf-utils.eclass: add parameters to compile and  install
Date: Fri, 21 Sep 2018 18:51:42 +0300	[thread overview]
Message-ID: <20180921185142.5a665ece@bkstv.local> (raw)


[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


             reply	other threads:[~2018-09-21 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 15:51 Victor Kustov [this message]
2018-09-21 16:02 ` [gentoo-dev] [PATCH] eclass/waf-utils.eclass: add parameters to compile and install Michał Górny
2018-09-22 12:55   ` Victor K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180921185142.5a665ece@bkstv.local \
    --to=ktrace@yandex.ru \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox