[85965] trunk/dports/lang
Jann Röder
mail at jann-roeder.net
Tue Oct 18 16:36:55 PDT 2011
Thanks for the suggestions.
I revised the portfile and will check it in tomorrow if I don't find any
problems until then.
Jann
Am 18.10.11 08:55, schrieb Joshua Root:
> On 2011-10-18 18:00 , Ryan Schmidt wrote:
>> On Feb 21, 2010, at 16:17, Jann Röder wrote:
>>
>>> The problem is, that this description relies in an environment variable
>>> that is set in the platform section of the portfile. This variable
>>> cannot be accessed in the note it seems. Any suggestion about that ?
>
> Why are you setting environment variables like this in the first place?
> If you need to use a value elsewhere in the portfile, use a normal Tcl
> variable. If you need environment variables to be set during a phase,
> use the options build.env, destroot.env, etc.
>
> I'm pretty sure setting env(FOO) affects the entire process, not just
> the interpreter that's executing the portfile.
>
> - Josh
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
More information about the macports-dev
mailing list