diff -u /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/gambit-c/Portfile ./Portfile
old
|
new
|
|
25 | 25 | implemented, including: infinite precision integers \ |
26 | 26 | (bignums), rationals, inexact reals (floating point \ |
27 | 27 | numbers), and complex numbers. |
| 28 | notes "It is highly recommended to use the gcc5 compiler\ |
| 29 | with gambit-c. This recommendation applies to both\ |
| 30 | building the gambit-c package, and to compiling\ |
| 31 | Scheme code with it. For details see\ |
| 32 | https://trac.macports.org/ticket/50953" |
28 | 33 | |
29 | 34 | homepage http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page |
30 | 35 | |
31 | 36 | platforms darwin |
32 | | depends_build port:autoconf |
| 37 | depends_build port:autoconf port:gcc5 |
33 | 38 | |
34 | 39 | master_sites http://www.iro.umontreal.ca/~gambit/download/gambit/v${branch}/source/ |
35 | 40 | distname gambc-v[strsed ${version} {g/\./_/}]-devel |
… |
… |
|
38 | 43 | checksums rmd160 aae275226d9cee234ed082de7f73bc52270576d5 \ |
39 | 44 | sha256 1c67c361c99d3d428a5c3fea4caa7791ada4963dcaf1f1ddb9becc1a89991625 |
40 | 45 | |
41 | | # https://trac.macports.org/ticket/46013 |
42 | | compiler.blacklist {clang < 600} *llvm-gcc-4.2 |
| 46 | # https://trac.macports.org/ticket/50953 |
| 47 | compiler.whitelist macports-gcc-5 |
43 | 48 | |
44 | 49 | configure.args --infodir=${prefix}/share/info \ |
45 | 50 | --libdir=${prefix}/lib/gambit-c \ |
| 51 | --enable-single-host \ |
46 | 52 | --docdir=${prefix}/share/doc |
47 | 53 | |
48 | | if {[string match *gcc* ${configure.compiler}]} { |
49 | | configure.args-append --enable-single-host |
50 | | } |
51 | | |
52 | 54 | use_parallel_build no |
53 | 55 | # gsc conficts with a binary installed by Ghostscript. Recommended |
54 | 56 | # option (based on mailing list posts from Arch Linux and FreeBSD |
… |
… |
|
90 | 92 | configure.args-append --enable-profile |
91 | 93 | } |
92 | 94 | |
| 95 | variant cpp description "Compile with support for linking with C++ code" { |
| 96 | configure.args-append --enable-cplusplus |
| 97 | } |
| 98 | |
93 | 99 | livecheck.type regex |
94 | 100 | livecheck.regex (\\d+\\.\\d+\\.\\d+) |
95 | 101 | livecheck.url ${homepage} |