(un)setting environment variables from a Portfile

Gustaf Neumann neumann at wu.ac.at
Sun Jan 11 09:01:06 PST 2015


> 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)

-g


More information about the macports-dev mailing list