On Sun, Dec 02, 2018 at 02:05:12PM -0700, Anthony J. Bentley wrote:
> Klemens Nanni writes:
> > Sync the manual with actual bsd.port.mk which consistently uses SETENV.
> 
> I sent a diff like this to espie in 2012. He said that it was not ok,
> since bsd.port.mk(5) says never to override SETENV:
> 
>  SETENV  Normally set to /usr/bin/env -i.  Prepended to every command
>          invocation that requires a clean environment.  Do not override.
> 
> Given that, perhaps it would be better to simply remove the SETENV
> variable completely and just use env -i. If that's not possible, IMO
> we should not document SETENV.

In general, it would usually start with replacing SETENV with env -i

That's a rather large boring change though.

Reply via email to