aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/curl
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-06-17 06:11:43 +0800
committermat <mat@FreeBSD.org>2016-06-17 06:11:43 +0800
commit136a1c55610b8c75ec96078844eb10d4e0b65c54 (patch)
tree4210042530b97bd119ba35ab216839d233c649ee /ftp/curl
parent2a58fe45cf2612e950effc56234f8c4acf7a8aae (diff)
downloadfreebsd-ports-gnome-136a1c55610b8c75ec96078844eb10d4e0b65c54.tar.gz
freebsd-ports-gnome-136a1c55610b8c75ec96078844eb10d4e0b65c54.tar.zst
freebsd-ports-gnome-136a1c55610b8c75ec96078844eb10d4e0b65c54.zip
Unbreak.
Sponsored by: Absolight
Diffstat (limited to 'ftp/curl')
-rw-r--r--ftp/curl/Makefile8
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>