(un)setting environment variables from a Portfile
Lawrence Velázquez
larryv at macports.org
Sun Jan 11 18:27:50 PST 2015
On Jan 11, 2015, at 2:46 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Sun, Jan 11, 2015 at 2:43 PM, René J.V. <rjvbertin at gmail.com> wrote:
> My specific case (turned out to be moot) was that having QTDIR set in the environment might undo MacPorts' sandboxing attempts
>
> MacPorts nukes most user environment variables, doesn't it, precisely for that reason?
Yes. The variables left after environment sanitization are listed in macports.conf, in the comment for the `extra_env` setting.
vq
More information about the macports-dev
mailing list