diff options
author | jlam <jlam> | 2002-02-01 18:32:34 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-02-01 18:32:34 +0000 |
commit | 2e6b6840fced44dae0d96ac6ef1774deb262e0c3 (patch) | |
tree | 1423e34e2c66801debe397f85a45a7fdfc8b940a | |
parent | 8ea3efa05b8e27ae8d8fb6b5c0ad275f055d1e6d (diff) | |
download | pkgsrc-2e6b6840fced44dae0d96ac6ef1774deb262e0c3.tar.gz |
Add SASL-based user authentication based on if USE_SASL=YES.
-rw-r--r-- | databases/openldap/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 13ac3202495..a8d3cc96f8b 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2002/01/31 05:06:54 jlam Exp $ +# $NetBSD: Makefile,v 1.39 2002/02/01 18:32:34 jlam Exp $ DISTNAME= openldap-2.0.21 SVR4_PKGNAME= oldap @@ -50,6 +50,12 @@ CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2 LIBS= -ldb2 -lpthread -lrt .endif +.if defined(USE_SASL) && (${USE_SASL} == "YES") +.include "../../security/cyrus-sasl/buildlink.mk" +CONFIGURE_ARGS+= --with-cyrus-sasl +CONFIGURE_ARGS+= --enable-spasswd +.endif + .if defined(KERBEROS) USE_KERBEROS= YES CONFIGURE_ARGS+= --with-kerberos |