On 12/17/2011 08:50 AM, Zac Medico wrote: > On 12/17/2011 02:24 AM, Pacho Ramos wrote: >> I am referring in this case to abiword, it has a "plugins" USE flag that >> enables some minimal set of plugins and, then, a lot of USE flags for >> building extra plugins (with extra dependencies). All of this extra >> plugins need "plugins" USE flag to be enabled. Is there any way to write >> a REQUIRED_USE flag variable without needing to list all USE flags >> depending on "plugins" to be set? > > I don't think so. You could file a PMS bug for an extension in the next > EAPI. I guess it could look something like this: > > || ( foo bar ) ? ( plugins )
It turns out that De Morgan's law allows it to be expressed with existing syntax: !plugins? ( !foo !bar ) Thanks to Ulrich Müller for pointing this out: https://bugs.gentoo.org/show_bug.cgi?id=399069#c1 -- Thanks, Zac
