On 03/06/2010 08:28 PM, Jonathan Callen wrote:
> On 03/06/2010 02:11 AM, Petteri Räty wrote:
>> What we use in Java is JAVA_PKG_OPT_USE to declare what use flag the
>> DEPENDs should be under. This approach doesn't allow the ebuild
>> maintainer to forget adding the depends.
> 
> That approach also disallows (or makes unduly difficult) making the
> dependency such that "I need autotools on USE=kernel_SunOS or
> USE=kernel_freemint, but nowhere else" or "I need autotools when USE=foo
> and USE=bar, but not otherwise".
> 

You can provide both approaches if there ever is a need for things you
said but in my opinion just declaring the use flag should be the
preferred approach as it results in less code in the individual ebuilds.

Regards,
Petteri

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to