Ticket #45375: Portfile-openconnect.diff

File Portfile-openconnect.diff, 1.2 KB (added by Schamschula (Marius Schamschula), 10 years ago)
  • Portfile

    old new  
    55
    66name                openconnect
    77version             6.00
     8revision            1
    89categories          net
    910platforms           darwin
    1011maintainers         nomaintainer
     
    4243}
    4344
    4445configure.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
    4649
    4750# Since Openconnect 5.00, GnuTLS is the default instead of OpenSSL
    4851if {![variant_isset ssl]} {
     
    5154
    5255variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} {
    5356    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
    5559}
    5660
    5761variant gnutls conflicts ssl description {Allow secure connections using GNUTLS} {
    5862    depends_lib-append      port:gnutls
    59     configure.args-replace  --without-gnutls --with-gnutls
    6063}
    6164
    6265post-destroot {