On 06/21/2012 11:12 PM, Michał Górny wrote: > On Thu, 21 Jun 2012 22:32:34 +0100 > David Leverton <levert...@googlemail.com> wrote: > >> Michał Górny wrote: >>> But in the current form, the spec doesn't allow passing >>> IUSE_RUNTIME flags to has_version() so we're on the safe side :P. >> >> True. Do we want to keep it that restrictive? > > I've added that to the spec but I'm not sure if we're not going too far > with this. > > Now I'm seriously seeing downside of this solution and starting > thinking about making them auto-enabled when deps are satisfied.
The funny part is that this could recurse, if you call has_version a[a-runtime-flag], which depends on b[b-runtime-flag], which depends on c[c-runtime-flag] and so on... I suspect that we'd be better off with a less restrictive spec, and without this "auto-enabled" thing. -- Thanks, Zac