Subject: Re: Developing packges with alternates as dependencies?
To: Gary Thorpe <>
From: Steven M. Bellovin <>
List: pkgsrc-users
Date: 04/25/2007 17:21:36
On Wed, 25 Apr 2007 15:12:28 -0400 (EDT)
Gary Thorpe <> wrote:

> Hi,
> I am trying to import a software package into pkgsrc and I have a
> problem regarding 'alternate' dependencies: by this I mean the package
> requires either one OR another package to build but not both (and
> these two packages conflict). If either one is present, then the
> package I am working on can be built.
> I have specified the dependency for one of these by doing something
> like this in the Makefile:
> .include        "../../devel/standalone-libs/"
> but if ../../sysutils/progwithlibs (which has standalone-libs as part
> of its distribution) has already been installed, then I would want to
> use the libraries bundled with it already.
> Is this possible to do?
Yes, I think so.  The file for sysutils/memtestplus has


		--Steve Bellovin,