On Sun, Aug 30, 2009 at 10:36 PM, Mounir Lamouri<[email protected]> wrote:
> I think this new feature should help everyones life. We can also imagine
> great features like a minimal USE-flag that will be something like:
> USE_REQUIREMENTS="minimal? ( foo bar )" to set a list of USE flags to
> disable if minimal USE flag is enabled. Combined to EAPI-1 auto-enabled
> USE flags, it could help disabling all auto-enabled USE flags for some
> uses... That's just an idea.
>
There's also bug 251179[1], which is ugly at first glance, but shows
that we don't really need an extra variable to control dependencies
between USE-flags (it *is* after all a dependency).
So, we can either use
use1? ( =${CATEGORY}/${PVR}[use2,use3,use4] )
which will probably require less changes to portage's resolver; or
something else like
use1? ( use2 use3 use4 )
The latter is unambiguous because it's not a package atom (no / ).
Either of these will work great when portage gets automatic
USE-dependency enabling.
1. http://bugs.gentoo.org/show_bug.cgi?id=251179
--
~Nirbheek Chauhan
GNOME+Mozilla Team, Gentoo