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

ryandesign at macports.org ryandesign at macports.org
Sat Oct 29 04:18:41 PDT 2011


Revision: 86599
          http://trac.macports.org/changeset/86599
Author:   ryandesign at macports.org
Date:     2011-10-29 04:18:36 -0700 (Sat, 29 Oct 2011)
Log Message:
-----------
mpfr: use llvm-gcc-4.2 instead of clang; see #31604

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

Modified: trunk/dports/devel/mpfr/Portfile
===================================================================
--- trunk/dports/devel/mpfr/Portfile	2011-10-29 10:36:55 UTC (rev 86598)
+++ trunk/dports/devel/mpfr/Portfile	2011-10-29 11:18:36 UTC (rev 86599)
@@ -12,6 +12,7 @@
 set patch_level     1
 version             ${base_version}-p${patch_level}
 #version             ${base_version}
+revision            1
 categories          devel math
 platforms           darwin
 license             LGPL-3+
@@ -54,6 +55,11 @@
     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
+}
+
 test.run        yes
 test.target     check
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111029/08794dc0/attachment.html>


More information about the macports-changes mailing list