On Fri, 16 Sep 2011 07:25:29 +0100
Ciaran McCreesh <ciaran.mccre...@googlemail.com> wrote:
> On Fri, 16 Sep 2011 00:32:49 -0400
> Matt Turner <matts...@gentoo.org> wrote:
> > Often packages depending on X11 libraries will also have to specify
> > the X11 libraries' proto packages in DEPEND. This is because the X11
> > library itself #includes files provided by the proto package. It's
> > not really that the X11 library depends on this at run-time, so the
> > protocol packages aren't specified in the RDEPEND of the libraries.
> 
> This is a build-against dependency, and it's best expressed either by
> its own BADEPEND, or (because it's apparently now possible, and
> because otherwise we'd end up with six or seven *DEPEND variables) by
> switching to something like DEPENDENCIES with a build-against label.

Please do not wreak exheres into Gentoo. The current variable forms are
complex enough; there is no reason to put even more logic into
the parser. And yes, it's better to have 7 *DEPEND variables than one
more magical, conditional thingie in the 'Dependencies' section.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to