Ticket #52615: patch-curl-add-wolfssl-darwinssl-variants.diff
File patch-curl-add-wolfssl-darwinssl-variants.diff, 2.6 KB (added by dbevans (David B. Evans), 8 years ago) |
---|
-
Portfile
44 44 45 45 configure.args --disable-silent-rules \ 46 46 --enable-ipv6 \ 47 --without-cyassl \ 47 48 --without-gnutls \ 48 49 --without-gssapi \ 49 50 --without-libidn \ … … 55 56 --without-polarssl \ 56 57 --without-spnego \ 57 58 --without-ssl \ 59 --without-darwinssl \ 58 60 --disable-ares \ 59 61 --disable-ldap \ 60 62 --disable-ldaps \ … … 135 137 configure.args-replace --disable-ares --enable-ares 136 138 } 137 139 138 variant gnutls conflicts ssl description {Allow secure connections using GNU TLS} { 140 variant darwinssl conflicts ssl gnutls wolfssl description {Allow secure connections using GNU TLS} { 141 configure.args-replace --without-darwinssl --with-darwinssl 142 } 143 144 variant gnutls conflicts ssl wolfssl darwinssl description {Allow secure connections using GNU TLS} { 139 145 depends_lib-append port:gnutls 140 146 configure.args-replace --without-gnutls --with-gnutls 141 147 } 142 148 149 variant wolfssl conflicts ssl gnutls darwinssl description {Allow secure connections using wolfSSL, formerly CyaSSL} { 150 depends_lib-append port:wolfssl 151 configure.args-replace --without-cyassl --with-cyassl 152 } 153 143 154 variant gss description {Support the Generic Security Service API} { 144 155 # This needs to use the system's Kerberos, not MacPorts' gss or kerberos5. 145 156 conflicts-append gss kerberos5 … … 182 193 configure.args-replace --without-spnego --with-spnego=${prefix} 183 194 } 184 195 185 variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} {196 variant ssl conflicts gnutls wolfssl darwinssl description {Allow secure connections using OpenSSL} { 186 197 depends_lib-append path:lib/libssl.dylib:openssl \ 187 198 path:share/curl/curl-ca-bundle.crt:curl-ca-bundle 188 199 configure.args-replace --without-ssl --with-ssl=${prefix} … … 189 200 configure.args-append --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt 190 201 } 191 202 192 if {![variant_isset gnutls] } {203 if {![variant_isset gnutls] && ![variant_isset darwinssl] && ![variant_isset wolfssl]} { 193 204 default_variants +ssl 194 205 } 195 206