Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Handling "exactly one of many" dependencies
Date: Thu, 07 Jul 2005 16:26:42
Message-Id: 20050707182435.605c709d@eusebe
In Reply to: Re: [gentoo-dev] Handling "exactly one of many" dependencies by Ciaran McCreesh
1 On Thu, 7 Jul 2005 17:14:36 +0100
2 Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk> wrote:
3
4 > On Thu, 7 Jul 2005 18:04:59 +0200 Thomas de Grenier de Latour
5 > <degrenier@×××××××××××.fr> wrote:
6 > | Thus, the src_compile should use some has_version instead:
7 > | if has_version media-lib/sdl ; then
8 > | emake game.sdl || die
9 > | elif has_version ...
10 >
11 > No, that breaks if you have sdl installed and USE=-sdl.
12 >
13
14 Yup. By "It works", i meant "something will get compiled" (at
15 the contrary of the previous example), but sure it won't take USE
16 flag into account. My point point was the same as yours i think
17 ie., that has_version is not a good workaround for broken dep
18 strings.
19
20 --
21 TGL.
22 --
23 gentoo-dev@g.o mailing list