Subject: Re: pkgsrc & DEPENDS
To: None <wcuddy@crb-web.com>
From: Masao Uebayashi <uebayasi@soum.co.jp>
List: netbsd-help
Date: 12/19/2001 13:45:24
> 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

Regards,
Masao