Ticket #29529: no_ssl_variant.diff
File no_ssl_variant.diff, 1.6 KB (added by ci42, 13 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 name erlang 6 6 version R14B01 7 revision 17 revision 2 8 8 categories lang erlang 9 9 maintainers bfulgham 10 10 platforms darwin … … 71 71 --enable-dynamic-ssl-lib \ 72 72 --enable-smp-support \ 73 73 --enable-hipe \ 74 --with out-ssl\74 --with-ssl=${prefix} \ 75 75 --without-odbc 76 76 77 configure.ldflags-append -lz 78 77 79 depends_build port:gawk port:perl5 78 80 81 depends_lib port:openssl 82 79 83 post-destroot { 80 84 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}" 81 85 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}" … … 121 125 depends_run-append port:tk 122 126 } 123 127 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:openssl128 variant no_ssl description {Build without SSL support} { 129 configure.args-append --without-ssl 130 configure.args-delete --with-ssl=${prefix} 131 configure.ldflags-delete -lz 132 depends_lib-delete port:openssl 129 133 } 130 134 131 135 variant nohipe description {Disable HiPE (native-code bytecode compiler)} {