[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo
From:       Georgy Yakovlev <gyakovlev () gentoo ! org>
Date:       2019-01-07 4:06:28
Message-ID: 4074160.DaPGGjK24Z () reaper
[Download RAW message or body]


On Thursday, January 3, 2019 1:37:20 AM PST Sergei Trofimovich wrote:
> On Wed,  2 Jan 2019 13:58:26 -0800
> 
> Georgy Yakovlev <gyakovlev@gentoo.org> wrote:
> > +# @CODE
> > +# ECARGO_BUILD_FLAGS="$(usex pcre "--features pcre2" "")"
> > +# @CODE
> 
> You may also want to provide user's hooks as well.
> 

I have something else brewing for cargo, next time I'll include something like 
this.
 it's nice to have, sure. Thanks for suggestion.

> Similar to EXTRA_ECONF and EXTRA_EMAKE those might be
>     ECARGO_EXTRA_BUILD_FLAGS
>     ECARGO_EXTRA_INSTALL_FLAGS
> 
> That way user would be able to tweak cargo behaviour without
> breaking ebuild behaviour too much via make.conf/package.env, like
>     ECARGO_EXTRA_BUILD_FLAGS=--color=never


-- 
Georgy Yakovlev
Gentoo Linux Developer
["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic