diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2010-08-24 22:32:45 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2010-08-24 22:32:45 +0000 |
commit | 989719bbe39284204b9b1b6e3fe162669a846809 (patch) | |
tree | f71eb675be281737dcf27b78b47066fbc5a95758 /ftp/curl | |
parent | 3d6dc8923a031025c39b09402563207b4d938c91 (diff) | |
download | ports-989719bbe39284204b9b1b6e3fe162669a846809.tar.gz ports-989719bbe39284204b9b1b6e3fe162669a846809.zip |
Notes
Diffstat (limited to 'ftp/curl')
-rw-r--r-- | ftp/curl/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile index 9edc90b6348b..b13bd3865a87 100644 --- a/ftp/curl/Makefile +++ b/ftp/curl/Makefile @@ -17,8 +17,6 @@ MASTER_SITE_SUBDIR= curl MAINTAINER= roam@FreeBSD.org COMMENT= Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers -RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss - LICENSE= MIT PATCH_STRIP= -p1 @@ -69,6 +67,7 @@ OPTIONS= CARES "Asynchronous DNS resolution via c-ares" off \ LIBSSH2 "SCP/SFTP support via libssh2" off \ NTLM "NTLM authentication" off \ OPENSSL "OpenSSL support" on \ + CA_BUNDLE "Install CA bundle for OpenSSL" on \ PROXY "Proxy support" on \ TRACKMEMORY "Enable curl memory diagnostic output" off @@ -98,10 +97,18 @@ IGNORE= only supports LDAPS with SSL (OpenSSL or GNUTLS) .if !defined(WITHOUT_OPENSSL) .include "${PORTSDIR}/Mk/bsd.openssl.mk" -CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} \ - --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt +CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} +.if !defined(WITHOUT_CA_BUNDLE) +RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss +CONFIGURE_ARGS+= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt +.else +CONFIGURE_ARGS+= --without-ca-bundle +.endif .else CONFIGURE_ARGS+= --without-ssl +.if defined(WITH_CA_BUNDLE) +IGNORE= only supports CA bundle with OpenSSL +.endif .endif .if defined(WITH_CARES) |