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
1 On Fri, 16 Sep 2011 07:25:29 +0100
2 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
3
4 > On Fri, 16 Sep 2011 00:32:49 -0400
5 > Matt Turner <mattst88@g.o> wrote:
6 > > Often packages depending on X11 libraries will also have to specify
7 > > the X11 libraries' proto packages in DEPEND. This is because the X11
8 > > library itself #includes files provided by the proto package. It's
9 > > not really that the X11 library depends on this at run-time, so the
10 > > protocol packages aren't specified in the RDEPEND of the libraries.
11 >
12 > This is a build-against dependency, and it's best expressed either by
13 > its own BADEPEND, or (because it's apparently now possible, and
14 > because otherwise we'd end up with six or seven *DEPEND variables) by
15 > switching to something like DEPENDENCIES with a build-against label.
16
17 Please do not wreak exheres into Gentoo. The current variable forms are
18 complex enough; there is no reason to put even more logic into
19 the parser. And yes, it's better to have 7 *DEPEND variables than one
20 more magical, conditional thingie in the 'Dependencies' section.
21
22 --
23 Best regards,
24 Michał Górny

Attachments

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

Replies

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