summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2008-07-31 19:47:10 +0000
committermanu <manu@pkgsrc.org>2008-07-31 19:47:10 +0000
commit9a3958e30352cf43bd45c435a80765c68da92036 (patch)
tree33ec2ac9b98aa941b3b7cb7500774c0d128b6b3d /www/curl
parentdab5a133394279ef950aab987c5685d9aead9671 (diff)
downloadpkgsrc-9a3958e30352cf43bd45c435a80765c68da92036.tar.gz
Added a LDAP option to curl, so that ldap:// and ldaps:// URL are supported
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile4
-rw-r--r--www/curl/options.mk11
2 files changed, 11 insertions, 4 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index df9b35869af..57d1f08c4c7 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2008/07/05 00:20:49 minskim Exp $
+# $NetBSD: Makefile,v 1.84 2008/07/31 19:47:10 manu Exp $
DISTNAME= curl-7.18.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://curl.haxx.se/download/ \
ftp://ftp.sunet.se/pub/www/utilities/curl/
diff --git a/www/curl/options.mk b/www/curl/options.mk
index 8baef87cb1a..ba2f89951bf 100644
--- a/www/curl/options.mk
+++ b/www/curl/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2008/03/10 18:35:54 drochner Exp $
+# $NetBSD: options.mk,v 1.5 2008/07/31 19:47:10 manu Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.curl
-PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi
+PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi ldap
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == NetBSD
# Kerberos is built in - no additional dependency
@@ -30,3 +30,10 @@ CONFIGURE_ARGS+= --with-gssapi-includes=${KRB5BASE}/include/gssapi
.else
CONFIGURE_ARGS+= --without-gssapi
.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+.include "../../databases/openldap-client/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-ldap
+CONFIGURE_ARGS+= --enable-ldaps
+.endif
+