Subject: Re: pkgsrc & DEPENDS
To: Masao Uebayashi <uebayasi@soum.co.jp>
From: Wayne Cuddy <wcuddy@crb-web.com>
List: netbsd-help
Date: 12/19/2001 10:57:13
On Wed, Dec 19, 2001 at 01:45:24PM +0900, Masao Uebayashi wrote:
> > I am building some packages and have read the Packages.txt and
> > packages(7) man pages.  I have a package that depends on one package OR
> > another.  What is the syntax to express this using the DEPENDS macros
> > in the NetBSD package system?
> 
>   .if some_confition
>   DEPENDS+=     one-1.2.3../../foo/one
>   .else
>   DEPENDS+=     another-4.5.6:../../bar/another
>   .endif
>

Forgive my ignorance, I am not extactly sure how this helps me, how would I do
something like:

DEPENDS+=	pkg-1.2|pkg-2.0

Thanks