[81304] trunk/dports/lang/chapel/Portfile
Revision: 81304 http://trac.macports.org/changeset/81304 Author: takeshi@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 } }
participants (1)
-
takeshi@macports.org