diff options
author | jlam <jlam@pkgsrc.org> | 2002-02-01 18:32:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-02-01 18:32:34 +0000 |
commit | 890dfbe9bc65e7e674f9036f7c4f54add8689d16 (patch) | |
tree | 1423e34e2c66801debe397f85a45a7fdfc8b940a /databases/openldap | |
parent | 94cd2761d3cae32bcec404ab0118afa803fa4d39 (diff) | |
download | pkgsrc-890dfbe9bc65e7e674f9036f7c4f54add8689d16.tar.gz |
Add SASL-based user authentication based on if USE_SASL=YES.
Diffstat (limited to 'databases/openldap')
-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 |