On 2011-7-26 22:32 , Sébastien Maret wrote:
> Hello,
> 
> I am working on a port that requires setting a few environnement
> variable at run time. How can this be done?

Depends on which variables and in which phase. You can directly set
configure.env, build.env etc., which should be a list of NAME=value,
plus the configure phase has a lot of options that set one specific
environment variable. Docs:

<http://guide.macports.org/chunked/reference.phases.html#reference.phases.configure>

- Josh
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to