diff options
author | pgj <pgj@FreeBSD.org> | 2010-08-25 06:32:45 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2010-08-25 06:32:45 +0800 |
commit | b253987cea7a5c33f6426f4e02278c87ad7d1af0 (patch) | |
tree | 143b7396dfe49b3d1f478e341a37cbd9366620c4 /ftp/curl | |
parent | 8dbcf9d27b707bc90982dacc8258dd9cb84bbb05 (diff) | |
download | freebsd-ports-gnome-b253987cea7a5c33f6426f4e02278c87ad7d1af0.tar.gz freebsd-ports-gnome-b253987cea7a5c33f6426f4e02278c87ad7d1af0.tar.zst freebsd-ports-gnome-b253987cea7a5c33f6426f4e02278c87ad7d1af0.zip |
- Make run dependency on security/ca_root_nss optional
PR: ports/149368
Submitted by: pgj
Approved by: roam (maintainer timeout)
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) |