summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 14:08:24 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 14:08:24 +0000
commitbe5387f6684a12fdaa2ec3b29978de598b1f6683 (patch)
tree51f1ef1edcb684d3d22b1da8f698849c6bf8abc2 /databases/openldap
parent66595aae36789beb85b6e7e8859e7ddc88d3c655 (diff)
downloadpkgsrc-be5387f6684a12fdaa2ec3b29978de598b1f6683.tar.gz
Convert to use krb5.buildlink3.mk to get Kerberos 5 support. Tested to
build and install properly using Heimdal.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile5
-rw-r--r--databases/openldap/buildlink3.mk5
2 files changed, 7 insertions, 3 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile
index 6aef26208ed..48a699dc000 100644
--- a/databases/openldap/Makefile
+++ b/databases/openldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2004/01/21 13:11:09 jlam Exp $
+# $NetBSD: Makefile,v 1.66 2004/01/21 14:08:24 jlam Exp $
#
DISTNAME= openldap-2.1.22
@@ -56,8 +56,9 @@ CONFIGURE_ARGS+= --enable-spasswd
.endif
.if defined(KERBEROS)
-PKG_USE_KERBEROS= YES
+. include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ARGS+= --with-kerberos
+CONFIGURE_ARGS+= --enable-kpasswd
.else
CONFIGURE_ARGS+= --without-kerberos
.endif
diff --git a/databases/openldap/buildlink3.mk b/databases/openldap/buildlink3.mk
index 981e61a6b6d..31c6d889b33 100644
--- a/databases/openldap/buildlink3.mk
+++ b/databases/openldap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2004/01/21 14:08:24 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENLDAP_BUILDLINK3_MK:= ${OPENLDAP_BUILDLINK3_MK}+
@@ -19,6 +19,9 @@ BUILDLINK_PKGSRCDIR.openldap?= ../../databases/openldap
. elif defined(USE_SASL) && (${USE_SASL} == "YES")
. include "../../security/cyrus-sasl/buildlink3.mk"
. endif
+. if defined(KERBEROS)
+. include "../../mk/krb5.buildlink3.mk"
+. endif
. include "../../security/openssl/buildlink3.mk"
.endif # OPENLDAP_BUILDLINK3_MK