Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

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

Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

2019-01-03 Thread Sergei Trofimovich
On Wed, 2 Jan 2019 13:58:26 -0800 Georgy Yakovlev wrote: > +# @CODE > +# ECARGO_BUILD_FLAGS="$(usex pcre "--features pcre2" "")" > +# @CODE You may also want to provide user's hooks as well. Similar to EXTRA_ECONF and EXTRA_EMAKE those might be ECARGO_EXTRA_BUILD_FLAGS ECARGO_EXTRA_INS

Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

2019-01-03 Thread Michał Górny
Dnia January 3, 2019 5:46:35 AM UTC, Georgy Yakovlev napisał(a): >On Wednesday, January 2, 2019 8:52:45 PM PST Michał Górny wrote: >> On Wed, 2019-01-02 at 13:58 -0800, Georgy Yakovlev wrote: >> > This adds 2 eclass variables >> > >> > ECARGO_BUILD_FLAGS >> > ECARGO_INSTALL_FLAGS >> > >> > cont

Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

2019-01-02 Thread Georgy Yakovlev
On Wednesday, January 2, 2019 8:52:45 PM PST Michał Górny wrote: > On Wed, 2019-01-02 at 13:58 -0800, Georgy Yakovlev wrote: > > This adds 2 eclass variables > > > > ECARGO_BUILD_FLAGS > > ECARGO_INSTALL_FLAGS > > > > contents will be passed to "cargo build" and "cargo install" calls in > > cargo

Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

2019-01-02 Thread Michał Górny
On Wed, 2019-01-02 at 13:58 -0800, Georgy Yakovlev wrote: > This adds 2 eclass variables > > ECARGO_BUILD_FLAGS > ECARGO_INSTALL_FLAGS > > contents will be passed to "cargo build" and "cargo install" calls in > cargo_src_compile() and cargo_src_install() respectively. > > Closes: https://github.

[gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

2019-01-02 Thread Georgy Yakovlev
This adds 2 eclass variables ECARGO_BUILD_FLAGS ECARGO_INSTALL_FLAGS contents will be passed to "cargo build" and "cargo install" calls in cargo_src_compile() and cargo_src_install() respectively. Closes: https://github.com/gentoo/gentoo/pull/10725 Signed-off-by: Georgy Yakovlev --- eclass/car