[97327] trunk/dports/graphics/gegl/Portfile

Joshua Root jmr at macports.org
Tue Sep 4 02:40:03 PDT 2012


On 2012-9-4 17:43 , Ryan Schmidt wrote:
> On Sep 3, 2012, at 17:51, devans at macports.org wrote:
> 
>> Revision: 97327
>>          https://trac.macports.org/changeset/97327
>> Author:   devans at macports.org
>> Date:     2012-09-03 15:51:15 -0700 (Mon, 03 Sep 2012)
>> Log Message:
>> -----------
>> gegl: build fix for Snow Leopard
>>
>> Modified Paths:
>> --------------
>>    trunk/dports/graphics/gegl/Portfile
>>
>> Modified: trunk/dports/graphics/gegl/Portfile
>> ===================================================================
>> --- trunk/dports/graphics/gegl/Portfile	2012-09-03 22:01:51 UTC (rev 97326)
>> +++ trunk/dports/graphics/gegl/Portfile	2012-09-03 22:51:15 UTC (rev 97327)
>> @@ -66,6 +66,10 @@
>> }
>>
>> platform darwin {
>> +    if {${os.major} == 10 && ${configure.compiler} == "gcc-4.2"} {
>> +        configure.compiler llvm-gcc-4.2
>> +    }
> 
> gcc-4.2 works for gegl on Leopard and Lion but not on Snow Leopard? How does it fail on Snow Leopard?

Snow Leopard is the only platform where gcc-4.2 will be the default. But
still, this should be done by blacklisting gcc-4.2, and ${os.major}
shouldn't figure into it ($xcodeversion might).

- Josh


More information about the macports-dev mailing list