On Thu, 7 Jul 2005 18:04:59 +0200 Thomas de Grenier de Latour
<[EMAIL PROTECTED]> wrote:
| Thus, the src_compile should use some has_version instead:
|     if has_version media-lib/sdl ; then
|         emake game.sdl || die
|     elif has_version ...

No, that breaks if you have sdl installed and USE=-sdl.

| So yes, in such a case i think it's much better to make the
| depend string determinisc. I would not write it exactly the way
| twofourtysix did tho (no need to have the !flag several times):
|     sdl? ( media-libs/libsdl )
|     !sdl? ( svga? ( media-libs/svgalib )
|             !svga? ( opengl? ( virtual/opengl )
|                      !opengl? ( ...
| 
| (with lot of closing parenthesis at the end. )

See gvim, I think it does that kind of thing correctly these days...

-- 
Ciaran McCreesh
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to