Changeset 126709


Ignore:
Timestamp:
Oct 14, 2014, 9:29:56 AM (6 years ago)
Author:
jmr@…
Message:

openconnect: fix ssl and gnutls variants (#45375)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/openconnect/Portfile

    r125444 r126709  
    66name                openconnect
    77version             6.00
     8revision            1
    89categories          net
    910platforms           darwin
     
    4344
    4445configure.args      --disable-silent-rules \
    45                     --with-vpnc-script=${prefix}/etc/vpnc/vpnc-script
    46 
    47 # Since Openconnect 5.00, GnuTLS is the default instead of OpenSSL
    48 if {![variant_isset ssl]} {
    49     default_variants +gnutls
    50 }
     46                    --with-vpnc-script=${prefix}/etc/vpnc/vpnc-script \
     47                    --without-openssl \
     48                    --without-gnutls
    5149
    5250variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} {
    5351    depends_lib-append      port:openssl
    54     configure.args-replace  --without-ssl --with-ssl
     52    configure.args-replace  --without-openssl --with-openssl
    5553}
    5654
     
    5856    depends_lib-append      port:gnutls
    5957    configure.args-replace  --without-gnutls --with-gnutls
     58}
     59
     60# Since Openconnect 5.00, GnuTLS is the default instead of OpenSSL
     61if {![variant_isset ssl]} {
     62    default_variants +gnutls
    6063}
    6164
Note: See TracChangeset for help on using the changeset viewer.