On Mon, 3 Aug 2015 21:23:37 +1000
Michael Palimaka <kensing...@gentoo.org> wrote:

> On 03/08/15 07:14, NP-Hardass wrote:
> > ^^ has the pleasant side effect of being easier to read, as a user.
> > The user receives a message saying "at-most-one-of" instead of some
> > convoluted other expression that they don't understand.
> > 
> > I am all for the use of ^^ add the default for this reason.
> 
> This introduces a usability nightmare for anyone with both qt4 and qt5
> in their global USE flags (a common configuration).

What if we had something like this?

REQUIRED_IUSE="^^qt ( qt5 qt4 )"

Users who don't care would set just qt rather than qt4 or qt5 and this
mechanism would automatically enable whichever one appears first in the
brackets. If qt4 or qt5 (or both) are set then the behaviour would
remain as it is now. Or perhaps some variation on this?

I'm not declaring this to be a great idea, just throwing it out there
for consideration. :)

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

Reply via email to