Revision: 90220 http://trac.macports.org/changeset/90220 Author: cal@macports.org Date: 2012-02-26 16:55:20 -0800 (Sun, 26 Feb 2012) Log Message: ----------- mpfr: back to clang, disable part of code generation that was flawed in Xcode 4.2(.0), #33361 Modified Paths: -------------- trunk/dports/devel/mpfr/Portfile Modified: trunk/dports/devel/mpfr/Portfile =================================================================== --- trunk/dports/devel/mpfr/Portfile 2012-02-26 22:56:47 UTC (rev 90219) +++ trunk/dports/devel/mpfr/Portfile 2012-02-27 00:55:20 UTC (rev 90220) @@ -12,6 +12,7 @@ set patch_level 3 version ${base_version}-p${patch_level} #version ${base_version} +revision 1 categories devel math platforms darwin license LGPL-3+ @@ -62,10 +63,10 @@ patchfiles-append patch[format %02d ${i}] } -# When mpfr is built with clang, trying to build gcc44/gcc45 eats up all system memory and crashes. -if {${configure.compiler} == "clang"} { - configure.compiler llvm-gcc-4.2 -} +# Due to radr://10291355 (llvm.org PR11111), the new tls support enabled in clang with Xcode 4.2 +# miscompiles mpfr. While this was fixed in Xcode 4.2.1, as the ttls support was never used prior to +# Xcode 4.2, the generic fix is to pass --disable-thread-safe to configure. +configure.args --disable-thread-safe test.run yes test.target check