On 2015-01-11 14:53, René J.V. Bertin wrote:
> I see MacPorts provides a set of keywords to add or delete env.
> variables to or from specific phases. Is there a (Tcl) command one
> can use to set or unset variables at an appropriate point so it's
> defined (or missing) appropriately for all subsequent steps?

The environment variables have to be set explicitly. Usually it is
enough to define them for the configure phase, but that depends on the
build system.

> If not, can one use *.env-delete to unset a variable without knowing
> its value?

There is currently no way to delete a specific environment variable
without knowing its value, since these are just handled as lists.

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

Reply via email to