On Oct 9, 2014, at 4:11 AM, Ryan Schmidt wrote:
>
>
>> On Oct 9, 2014, at 3:23 AM, [email protected] wrote:
>>
>> Revision
>> 126385
>> Author
>> [email protected]
>> Date
>> 2014-10-09 01:23:42 -0700 (Thu, 09 Oct 2014)
>> Log Message
>>
>> quassel: add *llvm-gcc-4.2 to blacklist
>
>> Modified: trunk/dports/irc/quassel/Portfile (126384 => 126385)
>>
>> --- trunk/dports/irc/quassel/Portfile 2014-10-09 08:12:33 UTC (rev
>> 126384)
>> +++ trunk/dports/irc/quassel/Portfile 2014-10-09 08:23:42 UTC (rev
>> 126385)
>> @@ -18,7 +18,7 @@
>>
>> # Blacklist compilers not supporting C++11
>> compiler.blacklist-append \
>> - *gcc-4.0 *gcc-4.2 {clang < 137}
>> + *gcc-4.0 *gcc-4.2 *llvm-gcc-4.2 {clang < 137}
>
> "*gcc-4.2" already matches llvm-gcc-4.2
The reason for the build failure on Snow Leopard is that although the Xcode
clang compiler collection is being used, on Xcode 3 there is no clang++
compiler to handle C++ code, therefore the Xcode clang compiler collection uses
llvm-g++-4.2 as the C++ compiler on Xcode 3.
The solution is to blacklist those versions of clang by adding "{clang < 137}"
to the compiler.blacklist.
You've already done this! But it is not having any effect because you have
forgotten to add the line "PortGroup compiler_blacklist_version 1.0" to the top
of the portfile. It is the compiler_blacklist_versions portgroup that knows how
to blacklist only specific versions of compilers; MacPorts base itself only
knows how to blacklist compilers by name.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev