Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [rfc] making autotools.eclass depends flexible
Date: Sat, 06 Mar 2010 18:46:51
Message-Id: 4B92A2C6.6050208@gentoo.org
In Reply to: [gentoo-dev] Re: [rfc] making autotools.eclass depends flexible by Jonathan Callen
1 On 03/06/2010 08:28 PM, Jonathan Callen wrote:
2 > On 03/06/2010 02:11 AM, Petteri Räty wrote:
3 >> What we use in Java is JAVA_PKG_OPT_USE to declare what use flag the
4 >> DEPENDs should be under. This approach doesn't allow the ebuild
5 >> maintainer to forget adding the depends.
6 >
7 > That approach also disallows (or makes unduly difficult) making the
8 > dependency such that "I need autotools on USE=kernel_SunOS or
9 > USE=kernel_freemint, but nowhere else" or "I need autotools when USE=foo
10 > and USE=bar, but not otherwise".
11 >
12
13 You can provide both approaches if there ever is a need for things you
14 said but in my opinion just declaring the use flag should be the
15 preferred approach as it results in less code in the individual ebuilds.
16
17 Regards,
18 Petteri

Attachments

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