[102707] trunk/dports/graphics

Aljaž Srebrnič g5pw at macports.org
Thu Feb 7 14:45:48 PST 2013


On 07/feb/2013, at 23:42, Ryan Schmidt <ryandesign at macports.org> wrote:

>> I thought so, too, but I found that snippet somewhere in the wiki… :/
> 
> Yes, here:
> 
> https://trac.macports.org/wiki/PortfileRecipes#gcc
> 
> Read it carefully:
> 
> "Setting configure.compiler changes the values MacPorts puts in variables like ${configure.cc}, ${configure.cxx}, ${configure.f77}, etc., which MacPorts automatically sets as environment variables during the configure phase. If the software in question doesn't use the configure phase, and you therefore need to pass these variables to the build phase, you must do so in a pre-build block; if you try to do so directly in the portfile body, you'll pick up the original values, before the variant changed them."
> 
> Since there are no compiler variants in your port, that reasoning does not apply in your case.

Of course. I read just the last part :/ Thanks!

--
Aljaž Srebrnič a.k.a g5pw
My public key:  http://bit.ly/g5pw_pubkey



More information about the macports-dev mailing list