On 2015-01-11 18:01, Gustaf Neumann wrote:
>> Is there a (Tcl) command one can use to set or unset variables at an
>> appropriate point
> 
> set environment variable
> 
>    set ::env(FOO) "some value"
> 
> unset environment variable
> 
>    unset ::env(FOO)

Portfiles do not use the normal environment. The environment from the
user is filtered with only a few special variables being kept. Do not
try to modify the standard ::env variables from a Portfile. Modify the
appropriate configure.env, build.env, destroot.env instead.

Rainer
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to