Depend on ${PORTSDIR}/foo WITH_OPTION

Eitan Adler lists at eitanadler.com
Wed May 19 17:52:12 UTC 2010


On Wed, May 19, 2010 at 9:11 AM, joris dedieu <joris.dedieu at gmail.com> wrote:
> Hi list,
> I would like to know if there is a way to tell a port that it depend
> on an other port
> but build with particulars options.
>
> Eg : port foo build depend on bar but won't build if bar is not build
> with WITH_PARTICULAR.
>

At this point there isn't a "real" way to require this. One option
however is to create a slave port with the options you need set and
depend on that.

-- 
Eitan Adler


More information about the freebsd-ports mailing list