[92355] trunk/dports/lang/chicken/Portfile

jmr at macports.org jmr at macports.org
Wed Apr 25 19:27:17 PDT 2012


Revision: 92355
          https://trac.macports.org/changeset/92355
Author:   jmr at macports.org
Date:     2012-04-25 19:27:17 -0700 (Wed, 25 Apr 2012)
Log Message:
-----------
chicken: fallback to gcc-4.2 (#32298)

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

Modified: trunk/dports/lang/chicken/Portfile
===================================================================
--- trunk/dports/lang/chicken/Portfile	2012-04-26 01:00:07 UTC (rev 92354)
+++ trunk/dports/lang/chicken/Portfile	2012-04-26 02:27:17 UTC (rev 92355)
@@ -5,7 +5,7 @@
 
 name		chicken
 version		4.7.0
-revision	1
+revision	2
 categories	lang scheme
 license         BSD public-domain
 maintainers	gmail.com:arto.bendiken waqar gmail.com:ivan.g.raikov
@@ -35,6 +35,16 @@
     reinplace "s|031__PREFIX__|[format %03o $len]${prefix}|" ${worksrcpath}/eval.c
 }
 
+# hangs when built with llvm, ticket #32298
+if {${configure.compiler} == "clang" ||
+    ${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler apple-gcc-4.2
+    }
+}
+
 use_configure	no
 
 build.args	C_COMPILER=${configure.cc} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120425/0af0f572/attachment.html>


More information about the macports-changes mailing list