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

takeshi at macports.org takeshi at macports.org
Sat May 12 05:51:54 PDT 2012


Revision: 92968
          https://trac.macports.org/changeset/92968
Author:   takeshi at macports.org
Date:     2012-05-12 05:51:53 -0700 (Sat, 12 May 2012)
Log Message:
-----------
chapel: chapel does not build with clang and gcc-4.2 is not available by default on Lion. Use llvm-gcc-4.2. I must have broken the build on Lion in r81358. See #30376

Revision Links:
--------------
    https://trac.macports.org/changeset/81358

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

Modified: trunk/dports/lang/chapel/Portfile
===================================================================
--- trunk/dports/lang/chapel/Portfile	2012-05-12 12:29:35 UTC (rev 92967)
+++ trunk/dports/lang/chapel/Portfile	2012-05-12 12:51:53 UTC (rev 92968)
@@ -5,7 +5,7 @@
 
 name                chapel
 version             1.3.0 
-revision            1
+revision            2
 categories          lang parallel science
 platforms           darwin
 maintainers         takeshi openmaintainer
@@ -27,14 +27,9 @@
 use_configure       no
 use_parallel_build  no
 
-# chapel builds with llvm-gcc by removing -use-gold-plugin
-# in ${worksrcpath}/make/compiler/Makefile.llvm-gcc and
-# chpl can be made to work by setting CHPL_TARGET_COMPILER
-# but gives warnings on linking different triples.
-#
 # chapel does not build with clang.
-if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler  gcc-4.2
+if {${configure.compiler} == "clang"} {
+    configure.compiler  llvm-gcc-4.2
 }
 
 configure.optflags  -O3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120512/fc519290/attachment.html>


More information about the macports-changes mailing list