[81304] trunk/dports/lang/chapel/Portfile

takeshi at macports.org takeshi at macports.org
Thu Jul 28 22:56:11 PDT 2011


Revision: 81304
          http://trac.macports.org/changeset/81304
Author:   takeshi at macports.org
Date:     2011-07-28 22:56:11 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
chapel: fixes build on Snow Leopard. Closing #30376 again

Modified Paths:
--------------
    trunk/dports/lang/chapel/Portfile

Modified: trunk/dports/lang/chapel/Portfile
===================================================================
--- trunk/dports/lang/chapel/Portfile	2011-07-29 05:51:47 UTC (rev 81303)
+++ trunk/dports/lang/chapel/Portfile	2011-07-29 05:56:11 UTC (rev 81304)
@@ -33,9 +33,10 @@
 # but gives warnings on linking different triples.
 #
 # chapel does not build with clang.
-if {![string match *-gcc-* ${configure.compiler}]} {
+if {[string match llvm-* ${configure.compiler}] ||
+    [string match clang ${configure.compiler}]} {
     pre-configure {
-        ui_error "${name} requires configure.compiler=*-gcc-*."
+        ui_error "${name} does not work properly with llvm-gcc or clang."
         return -code error
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/4aef29b9/attachment.html>


More information about the macports-changes mailing list