aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-08-14 23:46:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-08-14 23:46:49 +0000
commita7d4640be46617c7cfb2fa9de74fa714b3ad9569 (patch)
treec14714faef59b9ab9e9ec6dcbcb889daf2fed0f5 /ftp
parent03eed38da75e15a6a1e4713c2012d2bfbabc658f (diff)
downloadports-a7d4640be46617c7cfb2fa9de74fa714b3ad9569.tar.gz
ports-a7d4640be46617c7cfb2fa9de74fa714b3ad9569.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/curl/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index cd915386b6c0..ae93953c7a71 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= curl
PORTVERSION= 7.43.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp www
MASTER_SITES= http://curl.haxx.se/download/ \
LOCAL/sunpoet
@@ -19,7 +19,7 @@ OPTIONS_SINGLE= GSSAPI
OPTIONS_RADIO_RESOLV= CARES THREADED_RESOLVER
OPTIONS_RADIO_SSL= GNUTLS NSS OPENSSL POLARSSL WOLFSSL
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
-OPTIONS_DEFAULT= CA_BUNDLE COOKIES GSSAPI_BASE IPV6 OPENSSL PROXY RESOLV THREADED_RESOLVER TLS_SRP
+OPTIONS_DEFAULT= CA_BUNDLE COOKIES IPV6 OPENSSL PROXY RESOLV THREADED_RESOLVER TLS_SRP
CA_BUNDLE_DESC= Install CA bundle for OpenSSL
COOKIES_DESC= Cookies support
CURL_DEBUG_DESC= cURL debug memory tracking
@@ -32,6 +32,13 @@ RESOLV_DESC= DNS resolving options
THREADED_RESOLVER_DESC= Threaded DNS resolver
TLS_SRP_DESC= TLS-SRP (Secure Remote Password) support
+LOCALBASE?= /usr/local
+.if defined(WITH_OPENSSL_PORT) || (!defined(WITH_OPENSSL_BASE) && exists(${LOCALBASE}/lib/libcrypto.so))
+OPTIONS_DEFAULT+= GSSAPI_NONE
+.else
+OPTIONS_DEFAULT+= GSSAPI_BASE
+.endif
+
CONFIGURE_ARGS+=--disable-werror \
--enable-imap --enable-pop3 --enable-rtsp --enable-smtp \
--without-axtls