Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] How to handle dependencies on protocol headers?
Date: Fri, 16 Sep 2011 06:31:01
In Reply to: [gentoo-dev] How to handle dependencies on protocol headers? by Matt Turner
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. If the Portage guys aren't winding us up when they say that they could handle something like DEPENDENCIES without major code changes these days, then it could be on the cards for EAPI 5. -- Ciaran McCreesh


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


Subject Author
Re: [gentoo-dev] How to handle dependencies on protocol headers? "Michał Górny" <mgorny@g.o>