[110569] trunk/dports/lang/bigloo/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Sep 2 01:12:31 PDT 2013
Revision: 110569
https://trac.macports.org/changeset/110569
Author: jeremyhu at macports.org
Date: 2013-09-02 01:12:31 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
bigloo: Use -fbracket-depth where available
Modified Paths:
--------------
trunk/dports/lang/bigloo/Portfile
Modified: trunk/dports/lang/bigloo/Portfile
===================================================================
--- trunk/dports/lang/bigloo/Portfile 2013-09-02 08:06:26 UTC (rev 110568)
+++ trunk/dports/lang/bigloo/Portfile 2013-09-02 08:12:31 UTC (rev 110569)
@@ -28,10 +28,16 @@
checksums rmd160 0bbbd73c8249450e61ee00a28dae94fae4f739ee \
sha256 3835d6aec4428f7a9dc8029a434b4c845e7ea15728141d60b72f9ebc6ddd45e1
+# -fbracket-depth is supported by clang-3.3 and above
# objs/obj_u/Unsafe/aes.c:394:6392: fatal error: parser recursion limit reached, program too complex
-# <rdar://problem/14676594>
-compiler.blacklist clang
+# http://clang.llvm.org/docs/UsersManual.html#controlling-implementation-limits
+compiler.blacklist clang macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2
+
+if {[string match "*clang*" ${configure.compiler}]} {
+ configure.cflags-append -fbracket-depth=4096
+}
+
configure.args --mandir=${prefix}/share/man/man1 \
--infodir=${prefix}/share/info \
--docdir=${prefix}/share/doc/bigloo \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/fc34c933/attachment.html>
More information about the macports-changes
mailing list