On Thursday, January 3, 2019 1:37:20 AM PST Sergei Trofimovich wrote: > On Wed, 2 Jan 2019 13:58:26 -0800 > > Georgy Yakovlev <gyakov...@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
Description: This is a digitally signed message part.