Revision
81358
Author
takeshi@macports.org
Date
2011-07-29 15:14:07 -0700 (Fri, 29 Jul 2011)

Log Message

chapel: simply force gcc-4.2

Modified Paths

Diff

Modified: trunk/dports/lang/chapel/Portfile (81357 => 81358)


--- trunk/dports/lang/chapel/Portfile	2011-07-29 19:53:28 UTC (rev 81357)
+++ trunk/dports/lang/chapel/Portfile	2011-07-29 22:14:07 UTC (rev 81358)
@@ -33,14 +33,9 @@
 # but gives warnings on linking different triples.
 #
 # chapel does not build with clang.
-if {[string match llvm-* ${configure.compiler}] ||
-    [string match clang ${configure.compiler}]} {
-    pre-configure {
-        ui_error "${name} does not work properly with llvm-gcc or clang."
-        return -code error
-    }
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler  gcc-4.2
 }
-configure.compiler  gcc-4.2
 
 configure.optflags  -O3
 if {[variant_isset universal]} {