source: trunk/dports/lang/bigloo/Portfile @ 110569

Last change on this file since 110569 was 110569, checked in by jeremyhu@…, 6 years ago

bigloo: Use -fbracket-depth where available

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 110569 2013-09-02 08:12:31Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name              bigloo
6version           3.8c
7categories        lang scheme
8platforms         darwin
9license           {GPL-2+ LGPL}
10maintainers       loria.fr:reilles
11
12description       Bigloo is a fast Scheme implementation.
13long_description  Bigloo is a Scheme implementation devoted to one goal: \
14                  enabling Scheme based programming style where C(++) is \
15                  usually required. Bigloo attempts to make Scheme practical \
16                  by offering features usually presented by traditional \
17                  programming languages but not offered by Scheme and \
18                  functional programming. Bigloo compiles Scheme modules. \
19                  It delivers small and fast standalone binary executables. \
20                  Bigloo enables full connections between Scheme and C programs, \
21                  between Scheme and Java programs, and between Scheme and \
22                  C# programs.
23
24homepage          http://www-sop.inria.fr/mimosa/fp/Bigloo/
25master_sites      ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/
26distfiles         ${name}${version}.tar.gz
27worksrcdir        ${name}${version}
28checksums           rmd160  0bbbd73c8249450e61ee00a28dae94fae4f739ee \
29                    sha256  3835d6aec4428f7a9dc8029a434b4c845e7ea15728141d60b72f9ebc6ddd45e1
30
31# -fbracket-depth is supported by clang-3.3 and above
32# objs/obj_u/Unsafe/aes.c:394:6392: fatal error: parser recursion limit reached, program too complex
33# http://clang.llvm.org/docs/UsersManual.html#controlling-implementation-limits
34
35compiler.blacklist clang macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2
36
37if {[string match "*clang*" ${configure.compiler}]} {
38    configure.cflags-append -fbracket-depth=4096
39}
40
41configure.args    --mandir=${prefix}/share/man/man1 \
42                  --infodir=${prefix}/share/info \
43                  --docdir=${prefix}/share/doc/bigloo \
44                  --lispdir=${prefix}/share/emacs/site-lisp/bigloo \
45                  --jvm=yes \
46                  --native-default-backend \
47                  --finalization=yes \
48                  --stack-check=no
49
50build.target
Note: See TracBrowser for help on using the repository browser.