On 25/07/14 23:09, Ian Stakenvicius wrote: > On 25/07/14 04:41 PM, Michał Górny wrote: >> Dnia 2014-07-25, o godz. 14:49:44 Ian Stakenvicius <a...@gentoo.org> >> napisał(a): > >>> +REQUIRED_USE="heimdal? ( !mit-krb5 ) + mit-krb5? ( >>> !heimdal )" > >> Did you mean: > >> REQUIRED_USE="^^ ( heimdal mit-krb5 )" > >> ? > > > > Nope, that requires one or the other to be set. If users don't care, > they shouldn't have to set one at all. > >
REQUIRED_USE="?? ( heimdal mit-krb5 )" from EAPI=5 would do that. """ REQUIRED_USE supports new at-most-one-of operator The new at-most-one-of operator consists of the string '??', and is satisfied if zero or one (but no more) of its child elements is matched. """ Justin
signature.asc
Description: OpenPGP digital signature