On Tue, 06 Apr 2010 11:17:14 -0500, Harry Putnam wrote:

> > You can set features on a per-package basis by putting FEATURES="blah"
> > into /etc/portage/env/category/package.  
> 
> If that would also work for something like always using a specific
> EXTRA_ECONF for a certain package:
> 
>   EXTRA_ECONF="--enable-rootcommit"  <for the cvs package>

It would.

> Can you show an example of the necessary syntax? 

Just put the variable assignment in the file, it is sourced by bash when
the ebuild is parsed, so most things that can go in an ebuild can go
here. Usually it is used to override settings or set EXTRA_ECONF but you
can use it to redefine the ebuild functions. Some people put a custom
src_unpack() in here when they want to apply a patch, rather than
putting a modified ebuild in an overlay. 


-- 
Neil Bothwick

Picard: 'What do the sensors say Mr Data?'
Data:   'They tell us that we can't say "F*ck" Sir."

Attachment: signature.asc
Description: PGP signature

Reply via email to