Ticket #45733: pure-Portfile.diff
File pure-Portfile.diff, 1.8 KB (added by agraef (Albert Graef), 10 years ago) |
---|
-
Portfile
5 5 PortGroup bitbucket 1.0 6 6 7 7 # Keep the versions of pure and pure-docs in sync. 8 bitbucket.setup purelang pure-lang 0.6 3pure-8 bitbucket.setup purelang pure-lang 0.64 pure- 9 9 name pure 10 10 categories lang 11 11 platforms darwin … … 32 32 bitbucket.tarball_from downloads 33 33 distname ${name}-${version} 34 34 35 checksums rmd160 6f2d3e0da2ee58d09e9c628d7297610445c6f8a9\36 sha256 33acb2d560b21813f5e856973b493d9cfafba82bd6f539425ce07aa22f84ee2935 checksums rmd160 fa5d57b94fad999ada281edaf30db4212a0a28ae \ 36 sha256 efd55229342aec9d79e8fa4732a30f140e1773064f3869abde053e01468f7b07 37 37 38 38 set llvm_version 3.4 39 39 set llvm_prefix ${prefix}/libexec/llvm-${llvm_version} … … 63 63 # Prevent build failure when old llvm port is installed 64 64 configure.cppflags -I${llvm_prefix}/include ${configure.cppflags} 65 65 configure.ldflags -L${llvm_prefix}/lib ${configure.ldflags} 66 67 # Last-minute fixes to the ATS inlining support 68 patchfiles-append pure-0.64-ats-hotfixes.diff 66 69 67 70 platform macosx { 68 71 depends_run-replace port:w3m port:openbrowser … … 86 89 ${docdir} 87 90 copy ${destroot.dir}/examples ${destroot}${prefix}/share/examples/${name} 88 91 } 92 93 variant pcre description {Enable Perl regular expression support} { 94 depends_lib-append port:pcre 95 configure.args-append --with-pcre 96 } 89 97 90 98 test.run yes 91 99 test.target check