Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [pre-GLEP] Optional runtime dependencies via runtime-switchable USE flags
Date: Fri, 22 Jun 2012 06:47:12
Message-Id: 4FE41488.7010403@gentoo.org
In Reply to: Re: [gentoo-dev] [pre-GLEP] Optional runtime dependencies via runtime-switchable USE flags by "Michał Górny"
On 06/21/2012 11:12 PM, Michał Górny wrote:
> On Thu, 21 Jun 2012 22:32:34 +0100 > David Leverton <levertond@××××××××××.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

Replies