From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from portablehole.net (unknown [216.115.228.148]) by chiba.3jane.net (Postfix) with ESMTP id 16F58AC6D2 for ; Fri, 31 May 2002 02:17:00 -0500 (CDT) Received: (qmail 23824 invoked by uid 500); 31 May 2002 07:16:54 -0000 Date: Fri, 31 May 2002 00:16:54 -0700 From: Jano Lukac To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] DEPEND question Message-ID: <20020531071654.GI17614@irrelevant.portablehole.net> Mail-Followup-To: gentoo-dev@gentoo.org References: <200205302115.40184.wigren@home.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205302115.40184.wigren@home.se> User-Agent: Mutt/1.3.28i Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 5435e7bc-328e-4d33-a90a-2e18d20c2fb4 X-Archives-Hash: 7feabf3e333e1529e048fb0399184c5f not sure how the gpu-plugin parts work (config options, i guess?), but you could do something like this: (use opengl && gl-gpu-plugin) || sw-gpu-plugin Jano On Thu, May 30, 2002 at 09:15:40PM +0200, Per Wigren wrote: > How can I have a "if not"-dependancy? > I'm making ebuilds for the ePSXe and PCSX Playstation-emulators and their > plugins.. > I want to have dependancy similar to (in pseudocode): > IF USE opengl: gl-gpu-plugin > ELSE: sw-gpu-plugin > > I can't find anything in the docs... > > // Wigren > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev