Commits
Ryan Schmidt authored 27b5cf42f99
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup compiler_blacklist_versions 1.0 |
5 5 | |
6 6 | name luajit |
7 7 | version 2.0.5 |
8 - | revision 1 |
8 + | revision 2 |
9 9 | categories lang |
10 10 | platforms darwin |
11 11 | license BSD |
12 12 | |
13 13 | maintainers {stromnov @stromnov} openmaintainer |
14 14 | |
15 15 | description a Just-In-Time Compiler for Lua |
16 16 | long_description LuaJIT is a Just-In-Time Compiler for the Lua programming language. |
17 17 | |
18 18 | homepage http://luajit.org |
22 22 | |
23 23 | checksums rmd160 5176d34fa112c4586394398c3a5c9ce1ad4d4c72 \ |
24 24 | sha256 874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979 |
25 25 | |
26 26 | post-patch { |
27 27 | reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/etc/luajit.pc |
28 28 | } |
29 29 | |
30 30 | use_configure no |
31 31 | |
32 - | compiler.blacklist {clang < 700} |
32 + | compiler.blacklist {clang < 700} macports-clang-3.3 macports-clang-3.4 |
33 33 | |
34 34 | build.target amalg |
35 35 | build.args-append CC="${configure.cc}" \ |
36 36 | CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags] -DLUAJIT_ENABLE_LUA52COMPAT" \ |
37 37 | LDFLAGS="${configure.ldflags} [get_canonical_archflags]" \ |
38 38 | PREFIX="${prefix}" \ |
39 39 | Q="" |
40 40 | |
41 41 | destroot.args-append \ |
42 42 | PREFIX="${prefix}" |