RUN_DEPENDS with environment

Kris Kennaway kris at obsecurity.org
Tue Jun 15 00:11:54 GMT 2004


On Mon, Jun 14, 2004 at 07:53:19PM -0400, Michael Edenfield wrote:
> * pbdlists at pinboard.com <pbdlists at 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:
> > 
> > pre-fetch:
> >         export PORT_REPLACES_BASE_BIND8=yes
> >         export PORT_REPLACES_BASE_BIND8_INCLUDES=yes
> > 
> > Has anybody done this before and found a workable solution?
> > 
> 
> Change the .MAKEFLAGS variable to include -D<whatever>=yes 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.

No, that's not going to work, because the user may already have the
port installed.

Kris

P.S. This is a FAQ.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040614/cc9200ec/attachment.bin


More information about the freebsd-ports mailing list