Optionally depending on one of two ports (or none of them)

Mark Linimon linimon at lonesome.com
Sat Feb 24 20:16:09 UTC 2007

On Sat, Feb 24, 2007 at 07:13:01PM +0000, Matthew Seaman wrote:
> Why not do it this way?
> HAVE_TOR_DEVEL!= if pkg_info -I tor-devel-\* >/dev/null 2>&1 ; then echo YES; fi

The problem with this approach is that you couple another shell invocation
into 'make index'.  As long as they are in individual ports, it's ok, but
when we get them in the infrastructure, that's when things slow down.

No, I don't have an alternative proposal.


More information about the freebsd-ports mailing list