summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormanu <manu>2008-07-31 19:47:10 +0000
committermanu <manu>2008-07-31 19:47:10 +0000
commit770a63ee072e677a9bf650d7988b468ca423975c (patch)
tree33ec2ac9b98aa941b3b7cb7500774c0d128b6b3d /www
parented1a9ba76dcdac1a827c844b39f6e1954aee6370 (diff)
downloadpkgsrc-770a63ee072e677a9bf650d7988b468ca423975c.tar.gz
Added a LDAP option to curl, so that ldap:// and ldaps:// URL are supported
Diffstat (limited to 'www')
-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
+