pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl Added a LDAP option to curl, so that ldap:// ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc777b9cbb76
branches:  trunk
changeset: 545352:dc777b9cbb76
user:      manu <manu%pkgsrc.org@localhost>
date:      Thu Jul 31 19:47:10 2008 +0000

description:
Added a LDAP option to curl, so that ldap:// and ldaps:// URL are supported

diffstat:

 www/curl/Makefile   |   4 ++--
 www/curl/options.mk |  11 +++++++++--
 2 files changed, 11 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 801747553554 -r dc777b9cbb76 www/curl/Makefile
--- a/www/curl/Makefile Thu Jul 31 19:31:26 2008 +0000
+++ b/www/curl/Makefile Thu Jul 31 19:47:10 2008 +0000
@@ -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 -r 801747553554 -r dc777b9cbb76 www/curl/options.mk
--- a/www/curl/options.mk       Thu Jul 31 19:31:26 2008 +0000
+++ b/www/curl/options.mk       Thu Jul 31 19:47:10 2008 +0000
@@ -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 @@
 .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
+



Home | Main Index | Thread Index | Old Index