public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Depend on either one?
@ 2003-06-20  9:45 Michael Boman
  2003-06-20  9:53 ` Georgi Georgiev
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Boman @ 2003-06-20  9:45 UTC (permalink / raw
  To: Gentoo-dev

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

I have a package that can be either be used with release or CVS version
of the API.

I've tried to do:

DEPEND="
	libapi || libapi-cvs
"

in my ebuild. Lintool didn't think anything was strange but it didn't
want to build.

How can I make the ebuild work with either release or cvs version,
without creating two ebuilds for it?

Best regards
 Michael Boman

-- 
Michael Boman
Security Architect, SecureCiRT Pte Ltd
http://www.securecirt.com

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

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

* Re: [gentoo-dev] Depend on either one?
  2003-06-20  9:45 [gentoo-dev] Depend on either one? Michael Boman
@ 2003-06-20  9:53 ` Georgi Georgiev
  0 siblings, 0 replies; 2+ messages in thread
From: Georgi Georgiev @ 2003-06-20  9:53 UTC (permalink / raw
  To: Gentoo-dev

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

On 20/06/2003 at 17:45:19(+0800), Michael Boman used 0.9K just to say:
> DEPEND="
> 	libapi || libapi-cvs
> "

I think you need

DEPEND=" || ( libapi libapi-cvs )"

or similar.

-- 
 /^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
/ Georgi Georgiev    (-<     / NOBODY EXPECTS THE SPANISH       \
\ chutz@chubaka.net  /\   .o)\ INQUISITION!                     /
/ +81(90)6266-1163  V_/_ |(/)/                                  \
\___________________________/\__________________________________/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-06-20  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-20  9:45 [gentoo-dev] Depend on either one? Michael Boman
2003-06-20  9:53 ` Georgi Georgiev

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