Gentoo Archives: gentoo-dev

From: Jano Lukac <jano@××××××××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] DEPEND question
Date: Fri, 31 May 2002 02:17:00
Message-Id: 20020531071654.GI17614@irrelevant.portablehole.net
In Reply to: [gentoo-dev] DEPEND question by Per Wigren
1 not sure how the gpu-plugin parts work (config options, i guess?), but
2 you could do something like this:
3
4 (use opengl && gl-gpu-plugin) || sw-gpu-plugin
5
6
7 Jano
8
9
10 On Thu, May 30, 2002 at 09:15:40PM +0200, Per Wigren wrote:
11 > How can I have a "if not"-dependancy?
12 > I'm making ebuilds for the ePSXe and PCSX Playstation-emulators and their
13 > plugins..
14 > I want to have dependancy similar to (in pseudocode):
15 > IF USE opengl: gl-gpu-plugin
16 > ELSE: sw-gpu-plugin
17 >
18 > I can't find anything in the docs...
19 >
20 > // Wigren
21 >
22 > _______________________________________________
23 > gentoo-dev mailing list
24 > gentoo-dev@g.o
25 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev