diff options
Diffstat (limited to 'www/curl')
-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 + |