Ticket #29593: erlang.diff
File erlang.diff, 3.2 KB (added by ci42, 13 years ago) |
---|
-
Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 name erlang 6 version R14B01 7 revision 1 6 version R14B03 8 7 categories lang erlang 9 8 maintainers bfulgham 10 9 platforms darwin … … 40 39 otp_doc_html_${version}${extract.suffix} 41 40 42 41 checksums otp_src_${version}.tar.gz \ 43 md5 ce595447571128bc66f630a8fa13339a \ 44 sha1 f0e0529ed73587c2c4aaeb3f3a01555bd6cfe05c \ 45 rmd160 d91401fb100c18eb79899c9292e05574a51e88c8 \ 42 sha1 109812114ef7c2855ade14b90813a870c89f6d43 \ 43 rmd160 468736a53b2e74ab0cd0f706751b5b03cbfa87cd \ 46 44 otp_doc_man_${version}.tar.gz \ 47 md5 55376d3b1994d083cd21c9d849517c6c \ 48 sha1 5428f6ec7cf6d5ef6b09de2312ef948f3f1c5f28 \ 49 rmd160 5762acf3d72d8e1cc6de8bef30759fa5b06f52c2 \ 45 sha1 6bd773d2eee069762ba344dc8825ac52722398e1 \ 46 rmd160 f6e30764fe122cc0e571f8338f7c3eb3ff3bd893 \ 50 47 otp_doc_html_${version}.tar.gz \ 51 md5 92c141862ee12e9975d923d665b8a5c7 \ 52 sha1 db406964187a12e9ba1b7d49ec6e092ab1f4dbb8 \ 53 rmd160 e5f29f31ce2614e9363bdb74b9a9527e1b734701 48 sha1 c662e3b4387772c916f2f8c3e9dbceb275207d8c \ 49 rmd160 7be3c667de0b5e42f0d56eeadd155bcf977488cf 54 50 55 51 pre-patch { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} } 56 52 … … 71 67 --enable-dynamic-ssl-lib \ 72 68 --enable-smp-support \ 73 69 --enable-hipe \ 74 --with out-ssl\70 --with-ssl=${prefix} \ 75 71 --without-odbc 76 72 73 configure.ldflags-append -lz 74 77 75 depends_build port:gawk port:perl5 78 76 77 depends_lib port:openssl 78 79 79 post-destroot { 80 80 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}" 81 81 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}" 82 82 83 set erts_dir erts-5.8. 284 set erl_interface_dir erl_interface-3.7. 283 set erts_dir erts-5.8.4 84 set erl_interface_dir erl_interface-3.7.4 85 85 86 86 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl 87 87 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start … … 121 121 depends_run-append port:tk 122 122 } 123 123 124 variant ssl description {BuildSSL support} {125 configure.args- delete--without-ssl126 configure.args- append--with-ssl=${prefix}127 configure.ldflags- append-lz128 depends_lib- appendport:openssl124 variant no_ssl description {Build without SSL support} { 125 configure.args-append --without-ssl 126 configure.args-delete --with-ssl=${prefix} 127 configure.ldflags-delete -lz 128 depends_lib-delete port:openssl 129 129 } 130 130 131 131 variant nohipe description {Disable HiPE (native-code bytecode compiler)} {