public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] DEPEND question
@ 2002-05-30 19:15 Per Wigren
  2002-05-31  7:16 ` Jano Lukac
  0 siblings, 1 reply; 4+ messages in thread
From: Per Wigren @ 2002-05-30 19:15 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] DEPEND question
  2002-05-30 19:15 [gentoo-dev] DEPEND question Per Wigren
@ 2002-05-31  7:16 ` Jano Lukac
  0 siblings, 0 replies; 4+ messages in thread
From: Jano Lukac @ 2002-05-31  7:16 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-dev] DEPEND question
@ 2004-05-12  6:11 Andrew Gaffney
  2004-05-12 14:31 ` Chris Gianelloni
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Gaffney @ 2004-05-12  6:11 UTC (permalink / raw
  To: Gentoo Dev

If a package has a DEPEND entry such as '=sys-devel/m4-1.4*', what packages 
would match? Would 'sys-devel/m4-1.4_rc2' match? What about 
'sys-devel/m4-1.4-r3'? Would anything that begins with 'sys-devel/m4-1.4' match?

-- 
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] DEPEND question
  2004-05-12  6:11 Andrew Gaffney
@ 2004-05-12 14:31 ` Chris Gianelloni
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Gianelloni @ 2004-05-12 14:31 UTC (permalink / raw
  To: Andrew Gaffney; +Cc: Gentoo Dev

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

On Wed, 2004-05-12 at 02:11, Andrew Gaffney wrote:
> If a package has a DEPEND entry such as '=sys-devel/m4-1.4*', what packages 
> would match? Would 'sys-devel/m4-1.4_rc2' match? What about 
> 'sys-devel/m4-1.4-r3'? Would anything that begins with 'sys-devel/m4-1.4' match?

I would think that would be anything that matches sys-devel/m4-1.4 would
be matched.

-- 
Chris Gianelloni
Developer, Gentoo Linux
Games Team

Is your power animal a penguin?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-12 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-30 19:15 [gentoo-dev] DEPEND question Per Wigren
2002-05-31  7:16 ` Jano Lukac
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12  6:11 Andrew Gaffney
2004-05-12 14:31 ` Chris Gianelloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox