Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 19:53:19 -0400
From:      Michael Edenfield <kutulu@kutulu.org>
To:        pbdlists@pinboard.com, freebsd-ports@freebsd.org
Subject:   Re: RUN_DEPENDS with environment
Message-ID:  <20040614235319.GA1859@wombat.jungle>
In-Reply-To: <20040614224308.A39347@pinboard.com>
References:  <20040614224308.A39347@pinboard.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* pbdlists@pinboard.com <pbdlists@pinboard.com> [040614 19:15]:

> The user should not need to know about these settings, so I want to set
> these in the Makefile for my port, before the bind84 port is
> automatically installed, but I just can't figure out how to do this. Just
> setting them in my own Makefile does not do the trick, neither does
> something like the following work:
>=20
> pre-fetch:
>         export PORT_REPLACES_BASE_BIND8=3Dyes
>         export PORT_REPLACES_BASE_BIND8_INCLUDES=3Dyes
>=20
> Has anybody done this before and found a workable solution?
>=20

Change the .MAKEFLAGS variable to include -D<whatever>=3Dyes before the
make runs for those ports.  The new value of that variable should get
stuck into the MAKEFLAGS env. var for any child make invocations to pick
up.

--Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040614235319.GA1859>