[83193] trunk/dports/science/geos/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 27 10:37:53 PDT 2011


Revision: 83193
          http://trac.macports.org/changeset/83193
Author:   ryandesign at macports.org
Date:     2011-08-27 10:37:53 -0700 (Sat, 27 Aug 2011)
Log Message:
-----------
geos: force use of gcc-4.2 instead of llvm-gcc-4.2 or clang; see #30309

Modified Paths:
--------------
    trunk/dports/science/geos/Portfile

Modified: trunk/dports/science/geos/Portfile
===================================================================
--- trunk/dports/science/geos/Portfile	2011-08-27 17:33:24 UTC (rev 83192)
+++ trunk/dports/science/geos/Portfile	2011-08-27 17:37:53 UTC (rev 83193)
@@ -22,6 +22,15 @@
 checksums        sha1    f6c6e3398d5c7bf389a0610a0d06896d76ad4480 \
                  rmd160  724f535739ec88607083b72452481b155297fd2b
 
+if {${configure.compiler} == "clang" ||
+    ${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler apple-gcc-4.2
+    }
+}
+
 post-destroot {
     set docdir ${prefix}/share/doc/${name}
     xinstall -d ${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110827/eb0dfce6/attachment.html>


More information about the macports-changes mailing list