Ticket #33361: Portfile.diff
File Portfile.diff, 959 bytes (added by howarth@…, 13 years ago) |
---|
-
Portfile
old new 12 12 set patch_level 3 13 13 version ${base_version}-p${patch_level} 14 14 #version ${base_version} 15 revision 1 15 16 categories devel math 16 17 platforms darwin 17 18 license LGPL-3+ … … 62 63 patchfiles-append patch[format %02d ${i}] 63 64 } 64 65 65 # When mpfr is built with clang, trying to build gcc44/gcc45 eats up all system memory and crashes. 66 if {${configure.compiler} == "clang"} { 67 configure.compiler llvm-gcc-4.2 68 } 66 # 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. 67 68 configure.args --disable-thread-safe 69 69 70 70 test.run yes 71 71 test.target check