Subject: Re: build pkg dependency or'ing
To: Jan Schaumann <jschauma@netbsd.org>
From: Dr. Rene Hexel <rh@cit.gu.edu.au>
List: netbsd-help
Date: 02/13/2002 12:18:08
On Wednesday, February 13, 2002, at 10:10 AM, Jan Schaumann wrote:
> Well, apparently one can do
>
> DEPENDS= {foo-*,bar-*}
>
> but I'm still unclear as to how to do
>
> DEPENDS= {foo-*,bar-*}:{../foo.../bar}
No. You have to decide on one of the packages as a default in case
neither of foo or bar has already been installed. E.g. if you chose
foo, you'd declare the dependency like
DEPENDS= {foo,bar}-[0-9]*:../foo
(Please note also the [0-9] part that prevents this dependency from
accidentally matching packages like "foo-blah-1.0")
Cheers
,
Rene