pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Developing packges with alternates as dependencies?



On Wed, Apr 25, 2007 at 05:21:36PM -0400, Steven M. Bellovin wrote:
> Yes, I think so.  The options.mk 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.

        Geert



Home | Main Index | Thread Index | Old Index