Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Re: How to handle dependencies on protocol headers?
Date: Fri, 16 Sep 2011 09:54:47 +0200
On Fri, 16 Sep 2011 07:25:29 +0100
Ciaran McCreesh <ciaran.mccreesh@...> 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
Attachment:
signature.asc (PGP signature)
Replies:
Re: How to handle dependencies on protocol headers?
-- Ciaran McCreesh
References:
Re: How to handle dependencies on protocol headers?
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: How to handle dependencies on protocol headers?
Next by thread:
Re: How to handle dependencies on protocol headers?
Previous by date:
Re: x32 fun pants
Next by date:
Re: x32 fun pants


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.