Revision
112764
Author
takeshi@macports.org
Date
2013-10-31 01:26:03 -0700 (Thu, 31 Oct 2013)

Log Message

chapel: adding a missing patch

Added Paths

Diff

Added: trunk/dports/lang/chapel/files/patch-compiler.diff (0 => 112764)


--- trunk/dports/lang/chapel/files/patch-compiler.diff	                        (rev 0)
+++ trunk/dports/lang/chapel/files/patch-compiler.diff	2013-10-31 08:26:03 UTC (rev 112764)
@@ -0,0 +1,11 @@
+--- util/chplenv/compiler.orig	2013-10-02 09:18:36.000000000 +0900
++++ util/chplenv/compiler	2013-10-31 14:33:03.000000000 +0900
+@@ -34,6 +34,8 @@
+ 	$compiler = "ibm";
+     } elsif ($platform eq "marenostrum") {
+ 	$compiler = "ibm";
++    } elsif ($platform eq "darwin") {
++	$compiler = "clang";
+     } else {
+ 	if (run("platform", "--host") eq run("platform", "--target")) {
+ 	    $compiler=$ENV{'CHPL_HOST_COMPILER'};