[126852] trunk/dports/devel/mpfr/Portfile

davidnichols at macports.org davidnichols at macports.org
Thu Oct 16 07:24:39 PDT 2014


Revision: 126852
          https://trac.macports.org/changeset/126852
Author:   davidnichols at macports.org
Date:     2014-10-16 07:24:39 -0700 (Thu, 16 Oct 2014)
Log Message:
-----------
blacklisted the Xcode 4.2 compiler so that the mpfr lib can be build with threading enabled and therefore programs (such as Qore) that require a thread-safe mpfr library no longer assert() and otherwise crash due to threading issues with the mpfr library

Modified Paths:
--------------
    trunk/dports/devel/mpfr/Portfile

Modified: trunk/dports/devel/mpfr/Portfile
===================================================================
--- trunk/dports/devel/mpfr/Portfile	2014-10-16 12:01:45 UTC (rev 126851)
+++ trunk/dports/devel/mpfr/Portfile	2014-10-16 14:24:39 UTC (rev 126852)
@@ -12,6 +12,7 @@
 set base_version    3.1.2
 set patch_level     10
 version             ${base_version}-p${patch_level}
+revision            1
 categories          devel math
 platforms           darwin
 license             LGPL-3+
@@ -84,8 +85,10 @@
 
 # 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
+# Xcode 4.2, the generic fix is to pass --disable-thread-safe to configure, however this will break
+# any project that requires a thread-safe mpfr library, therefore the Xcode 4.2 compiler is
+# blacklisted here
+compiler.blacklist *llvm-gcc-4.2
 
 test.run            yes
 test.target         check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141016/0c6428a6/attachment.html>


More information about the macports-changes mailing list