Ticket #45375: Portfile-openconnect.diff
File Portfile-openconnect.diff, 1.2 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 5 5 6 6 name openconnect 7 7 version 6.00 8 revision 1 8 9 categories net 9 10 platforms darwin 10 11 maintainers nomaintainer … … 42 43 } 43 44 44 45 configure.args --disable-silent-rules \ 45 --with-vpnc-script=${prefix}/etc/vpnc/vpnc-script 46 --with-vpnc-script=${prefix}/etc/vpnc/vpnc-script \ 47 --with-gnutls \ 48 --without-openssl 46 49 47 50 # Since Openconnect 5.00, GnuTLS is the default instead of OpenSSL 48 51 if {![variant_isset ssl]} { … … 51 54 52 55 variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} { 53 56 depends_lib-append port:openssl 54 configure.args-replace --without-ssl --with-ssl 57 configure.args-replace --with-gnutls --without-gnutls 58 configure.args-replace --without-openssl --with-openssl 55 59 } 56 60 57 61 variant gnutls conflicts ssl description {Allow secure connections using GNUTLS} { 58 62 depends_lib-append port:gnutls 59 configure.args-replace --without-gnutls --with-gnutls60 63 } 61 64 62 65 post-destroot {