diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-16 22:11:43 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-16 22:11:43 +0000 |
commit | 208853dd7484be1f234989ab7f1280da47c38ed0 (patch) | |
tree | 4210042530b97bd119ba35ab216839d233c649ee /ftp/curl | |
parent | 7aaae4739e872cf15ffb9dbe51a49be0d8ea8552 (diff) | |
download | ports-208853dd7484be1f234989ab7f1280da47c38ed0.tar.gz ports-208853dd7484be1f234989ab7f1280da47c38ed0.zip |
Notes
Diffstat (limited to 'ftp/curl')
-rw-r--r-- | ftp/curl/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile index 33eba926350b..793e4c96a7e7 100644 --- a/ftp/curl/Makefile +++ b/ftp/curl/Makefile @@ -33,9 +33,7 @@ TLS_SRP_DESC= TLS-SRP (Secure Remote Password) support LOCALBASE?= /usr/local -.include <${.CURDIR}/../../Mk/bsd.default-versions.mk> - -.if ${SSL_DEFAULT} != base +.if exists(${LOCALBASE}/lib/libcrypto.so) OPTIONS_DEFAULT+= GSSAPI_NONE .else OPTIONS_DEFAULT+= GSSAPI_BASE @@ -141,7 +139,7 @@ TLS_SRP_CONFIGURE_ENABLE= tls-srp WOLFSSL_CONFIGURE_WITH= cyassl WOLFSSL_LIB_DEPENDS= libwolfssl.so:security/wolfssl -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL} && ${PORT_OPTIONS:MTLS_SRP} IGNORE= only supports TLS-SRP with either OpenSSL or GnuTLS @@ -191,4 +189,4 @@ pre-test-PROXY-off: @${ECHO_MSG} "* This is being addressed. *" @${ECHO_MSG} "******************************************" -.include <bsd.port.mk> +.include <bsd.port.post.mk> |