Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: ciaran.mccreesh@××××××××××.com
Subject: Re: [gentoo-dev] How to handle dependencies on protocol headers?
Date: Fri, 16 Sep 2011 07:53:27
Message-Id: 20110916095447.18cc8808@pomiocik.lan
In Reply to: Re: [gentoo-dev] How to handle dependencies on protocol headers? by Ciaran McCreesh
On Fri, 16 Sep 2011 07:25:29 +0100
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:

> On Fri, 16 Sep 2011 00:32:49 -0400 > Matt Turner <mattst88@g.o> 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


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-dev] How to handle dependencies on protocol headers? Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>