Ticket #25686: openssl-Portfile.diff
File openssl-Portfile.diff, 1.7 KB (added by michaelld (Michael Dickens), 14 years ago) |
---|
-
Portfile
1 # -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 6 7 name openssl 7 8 version 1.0.0a 8 9 epoch 1 10 revision 1 9 11 platforms darwin freebsd 10 12 categories devel security 11 13 maintainers mww … … 32 34 } 33 35 34 36 configure.cmd ./config 35 configure.args -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared37 configure.args -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib-dynamic no-asm no-krb5 shared 36 38 configure.ccache no 37 39 40 post-configure { 41 # assume that the depends needs to be remade before building 42 system "cd ${worksrcpath} && make depend" 43 } 44 38 45 variant rfc3779 description {enable RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} { 39 46 configure.args-append enable-rfc3779 40 47 } 41 48 49 variant md2 description {enable MD2 extensions} { 50 configure.args-append enable-md2 51 } 52 53 variant rc5 description {enable RC5 extensions} { 54 configure.args-append enable-rc5 55 } 56 57 variant krb5_mit description {enable experimental Kerberos 5 (MIT) extensions} { 58 configure.args-delete no-krb5 59 configure.args-append --with-krb5-flavor=MIT --with-krb5-dir=${prefix} 60 depends_lib-append port:kerberos5 61 } 62 63 variant krb5_heimdal description {enable experimental Kerberos 5 (Heimdal) extensions} { 64 configure.args-delete no-krb5 65 configure.args-append --with-krb5-flavor=Heimdal --with-krb5-dir=${prefix} 66 depends_lib-append port:heimdal 67 } 68 42 69 use_parallel_build no 43 70 44 71 destroot.destdir INSTALL_PREFIX=${destroot}