RUN_DEPENDS with environment

Michael Edenfield kutulu at
Mon Jun 14 23:53:41 GMT 2004

* pbdlists at <pbdlists at> [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
> 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


More information about the freebsd-ports mailing list