Ticket #38369: macports-curl-darwinssl.patch

File macports-curl-darwinssl.patch, 1.7 KB (added by macports-trac-phil@…, 11 years ago)

patch for curl Portfile to add darwinssl

  • Portfile

    old new  
    4848                                --without-polarssl \
    4949                                --without-spnego \
    5050                                --without-ssl \
     51                                --without-darwinssl \
    5152                                --disable-ares \
    5253                                --disable-ldap \
    5354                                --disable-ldaps \
     
    118119        configure.args-append   --enable-ares
    119120    }
    120121
    121     variant gnutls conflicts ssl description {Allow secure connections using GNU TLS} {
     122    variant gnutls conflicts ssl conflicts darwinssl description {Allow secure connections using GNU TLS} {
    122123        depends_lib-append      port:gnutls
    123124        configure.args-delete   --without-gnutls
    124125        configure.args-append   --with-gnutls
     
    152153        configure.args-append   --with-spnego=${prefix}
    153154    }
    154155
    155     variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} {
     156    variant ssl conflicts gnutls conflicts darwinssl description {Allow secure connections using OpenSSL} {
    156157        depends_lib-append      port:openssl \
    157158                                port:curl-ca-bundle
    158159        configure.args-delete   --without-ssl
     
    160161                                --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt
    161162    }
    162163
     164    variant darwinssl conflicts ssl conflicts gnutls description {Allow secure connections using Darwin Secure Transport} {
     165        configure.args-delete   --without-darwinssl
     166        configure.args-append   --with-darwinssl
     167    }
     168
    163169    if {![variant_isset gnutls]} {
    164170        default_variants +ssl
    165171    }