Gentoo Archives: gentoo-dev

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo
Date: Mon, 07 Jan 2019 04:06:41
Message-Id: 4074160.DaPGGjK24Z@reaper
In Reply to: Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo by Sergei Trofimovich
1 On Thursday, January 3, 2019 1:37:20 AM PST Sergei Trofimovich wrote:
2 > On Wed, 2 Jan 2019 13:58:26 -0800
3 >
4 > Georgy Yakovlev <gyakovlev@g.o> wrote:
5 > > +# @CODE
6 > > +# ECARGO_BUILD_FLAGS="$(usex pcre "--features pcre2" "")"
7 > > +# @CODE
8 >
9 > You may also want to provide user's hooks as well.
10 >
11
12 I have something else brewing for cargo, next time I'll include something like
13 this.
14 it's nice to have, sure. Thanks for suggestion.
15
16 > Similar to EXTRA_ECONF and EXTRA_EMAKE those might be
17 > ECARGO_EXTRA_BUILD_FLAGS
18 > ECARGO_EXTRA_INSTALL_FLAGS
19 >
20 > That way user would be able to tweak cargo behaviour without
21 > breaking ebuild behaviour too much via make.conf/package.env, like
22 > ECARGO_EXTRA_BUILD_FLAGS=--color=never
23
24
25 --
26 Georgy Yakovlev
27 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature