Hi Alan and all,

On Fri, Jul 08, 2011 at 05:19:46PM +0200, Alan McKinnon wrote:
> easy.
> 
> Two USE flags: gtk2 and gtk3
> 
> in ebuild:
> 
> DEPEND="
>     gtk2? (x11-libs/gtk+:2)
>     gtk3? (x11-libs/gtk+:3)
> "

This doesn't account for all possible use flag settings. If I had
neither flag set, neither version of gtk would be installed, or if I had
both set, both versions would be installed. You can't just choose a
default in src_configure; you have to worry about it in the dependencies
as well. If you don't, you can force installation of a package the user
doesn't need or not install something they  do need.

William

Attachment: pgpcZOyBObEdq.pgp
Description: PGP signature

Reply via email to