[81117] trunk/dports/devel/gmp/Portfile
jmr at macports.org
jmr at macports.org
Mon Jul 25 15:00:29 PDT 2011
Revision: 81117
http://trac.macports.org/changeset/81117
Author: jmr at macports.org
Date: 2011-07-25 15:00:28 -0700 (Mon, 25 Jul 2011)
Log Message:
-----------
gmp: probably fix build with Xcode 4.0.x (#30294)
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2011-07-25 21:24:22 UTC (rev 81116)
+++ trunk/dports/devel/gmp/Portfile 2011-07-25 22:00:28 UTC (rev 81117)
@@ -41,7 +41,11 @@
# llvm-gcc-4.2 fails make check
if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+ if {[rpm-vercomp $xcodeversion 4.1] >= 0} {
+ configure.compiler clang
+ } else {
+ configure.compiler gcc-4.2
+ }
}
configure.args --infodir=${prefix}/share/info \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110725/200828c9/attachment.html>
More information about the macports-changes
mailing list