diff options
author | manu <manu> | 2008-07-31 19:47:10 +0000 |
---|---|---|
committer | manu <manu> | 2008-07-31 19:47:10 +0000 |
commit | fe123ec911fd99532c4fa1f8998e5607b116987d (patch) | |
tree | 33ec2ac9b98aa941b3b7cb7500774c0d128b6b3d | |
parent | 46316084fdb136ea2a1a479d803887ab980d316a (diff) | |
download | pkgsrc-fe123ec911fd99532c4fa1f8998e5607b116987d.tar.gz |
Added a LDAP option to curl, so that ldap:// and ldaps:// URL are supported
-rw-r--r-- | www/curl/Makefile | 4 | ||||
-rw-r--r-- | www/curl/options.mk | 11 |
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 + |