Re: [gentoo-dev] [PATCH 1/2] waf-utils.eclass: Simplify output of configure command and arguments

2019-01-09 Thread Michał Górny
On Wed, 2019-01-09 at 22:08 +, James Le Cuirot wrote: > We can just assign these to an array and echo before executing. Using > @Q makes Bash quote the output. This only works in Bash 4.4 and later > but on earlier versions, it simply doesn't quote. > > Signed-off-by: James Le Cuirot > --- >

[gentoo-dev] [PATCH 2/2] waf-utils.eclass: Respect PKG_CONFIG

2019-01-09 Thread James Le Cuirot
Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling. Signed-off-by: James Le Cuirot --- eclass/waf-utils.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 8387829648a3..6cdfe5f747e8 100644 --- a/eclass/waf-utils.e

[gentoo-dev] [PATCH 1/2] waf-utils.eclass: Simplify output of configure command and arguments

2019-01-09 Thread James Le Cuirot
We can just assign these to an array and echo before executing. Using @Q makes Bash quote the output. This only works in Bash 4.4 and later but on earlier versions, it simply doesn't quote. Signed-off-by: James Le Cuirot --- eclass/waf-utils.eclass | 20 +--- 1 file changed, 13 i