summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/curl/options.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/curl/options.mk b/www/curl/options.mk
index ba2f89951bf..68977303074 100644
--- a/www/curl/options.mk
+++ b/www/curl/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2008/07/31 19:47:10 manu Exp $
+# $NetBSD: options.mk,v 1.6 2008/08/01 06:36:26 dsainty Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.curl
PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi ldap
@@ -33,7 +33,8 @@ CONFIGURE_ARGS+= --without-gssapi
.if !empty(PKG_OPTIONS:Mldap)
.include "../../databases/openldap-client/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-ldap
-CONFIGURE_ARGS+= --enable-ldaps
+CONFIGURE_ARGS+= --enable-ldap
+CONFIGURE_ARGS+= --enable-ldaps
+.else
+CONFIGURE_ARGS+= --disable-ldap
.endif
-