Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [rfc] making autotools.eclass depends flexible
Date: Sun, 07 Mar 2010 18:36:48
Message-Id: 201003071336.39657.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] [rfc] making autotools.eclass depends flexible by "Petteri Räty"
1 On Sunday 07 March 2010 13:31:56 Petteri Räty wrote:
2 > On 03/07/2010 07:42 PM, Mike Frysinger wrote:
3 > > On Saturday 06 March 2010 02:11:15 Petteri Räty wrote:
4 > >> On 03/05/2010 08:59 PM, Mike Frysinger wrote:
5 > >>> sometimes i have optional patches (ignoring the "patches should always
6 > >>> be applied") where autotools should be run. always inheriting
7 > >>> autotools is currently annoying because it always adds the related
8 > >>> dependencies. USE based inherits are obviously out.
9 > >>>
10 > >>> so unless there's some burgeoning standard i'm not aware of, below is
11 > >>> what i have in mind. packages set AUTOTOOLS_AUTO_DEPEND to "no" before
12 > >>> inheriting autotools.eclass and that allows them to put
13 > >>> ${AUTOTOOLS_DEPEND} behind a USE flag in their own DEPEND string.
14 > >>
15 > >> What we use in Java is JAVA_PKG_OPT_USE to declare what use flag the
16 > >> DEPENDs should be under. This approach doesn't allow the ebuild
17 > >> maintainer to forget adding the depends.
18 > >
19 > > i'm more inclined towards Jonathan's opinion, so ive kept the proposed
20 > > behavior (plus a fix from Torsten).
21 >
22 > And what about my latest response to him?
23
24 considering your proposal saves ${FOO} in DEPEND, it hasnt changed my opinion
25 -mike

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [rfc] making autotools.eclass depends flexible "Petteri Räty" <betelgeuse@g.o>