m h wrote:
> Other than a text editor?
>
> I'd like to have a tool that can add USE flags on a per package or
> global level.  (I'm doing this in some build scripts and would prefer
> just to have a tool, rather than sed or some other shell hackery).
>
> I couldn't find anything via a quick search on google.
>
> Here's my interface:
>
> use-config --add --component sys-devel/gcc --flag fortran
>
> (adds the fortran USE flag to package.use for gcc)
>
> A --remove would remove the fortran USE flag, and --unset would put
> "-fortran" instead.  A --global would update make.conf instead of
> package.use.
>
> Make sense?  Are there other features that people would want?
>
> Unless this already exists, I'll probably create a tool for this.

euse from app-portage/gentoolkit provides this functionality for global
use flags, ie

euse --enable java
euse --disable xmms

and so on.

-- 
Joshua Nichols
Gentoo/Java - Project Lead

-- 
[email protected] mailing list

Reply via email to