Subject: Re: Developing packges with alternates as dependencies?
To: Gary Thorpe <>
From: Geert Hendrickx <>
List: pkgsrc-users
Date: 04/26/2007 08:16:12
On Wed, Apr 25, 2007 at 05:21:36PM -0400, Steven M. Bellovin wrote:
> Yes, I think so.  The file for sysutils/memtestplus has
> BUILD_DEPENDS+={cdrtools,cdrtools-ossdvd}>=2.01:../../sysutils/cdrtools

That will pick cdrtools (in this case) if neither is installed.  Another
possibility is using PKG_OPTIONS, so the user can set the preferred
dependency beforehand.