summaryrefslogtreecommitdiff
path: root/databases/openldap-server
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-09-22 08:46:32 +0000
committertron <tron@pkgsrc.org>2008-09-22 08:46:32 +0000
commit8f18cdb41a2e698ed6a677860af7137c5c909155 (patch)
tree4dfd6ddb06dc6b511b546a573df7fccf8e0e6807 /databases/openldap-server
parent3fe30be2c9aef04685bec06ce3b3d8668ea76a87 (diff)
downloadpkgsrc-8f18cdb41a2e698ed6a677860af7137c5c909155.tar.gz
Alway use Berkeley DB 4.6.21 provided by the "db46" package.
Berkeley DB 4.7.x is not officially supported by OpenLDAP yet and there have been various reports of problems with this combination. Bump package revision.
Diffstat (limited to 'databases/openldap-server')
-rw-r--r--databases/openldap-server/Makefile4
-rw-r--r--databases/openldap-server/options.mk19
2 files changed, 6 insertions, 17 deletions
diff --git a/databases/openldap-server/Makefile b/databases/openldap-server/Makefile
index d0d8f7f2737..b3ee0222bf5 100644
--- a/databases/openldap-server/Makefile
+++ b/databases/openldap-server/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2008/09/09 22:25:02 tron Exp $
+# $NetBSD: Makefile,v 1.16 2008/09/22 08:46:32 tron Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Lightweight Directory Access Protocol server suite
CONFLICTS+= openldap<2.3.23nb1
diff --git a/databases/openldap-server/options.mk b/databases/openldap-server/options.mk
index 8899d1e92c9..292dd1aada8 100644
--- a/databases/openldap-server/options.mk
+++ b/databases/openldap-server/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2008/09/10 12:43:18 wiz Exp $
+# $NetBSD: options.mk,v 1.9 2008/09/22 08:46:32 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server
PKG_SUPPORTED_OPTIONS= bdb kerberos sasl slp inet6 smbk5pwd
@@ -16,20 +16,9 @@ PKG_SUGGESTED_OPTIONS= bdb
###
.if !empty(PKG_OPTIONS:Mbdb)
-. if !empty(MACHINE_PLATFORM:MNetBSD-[0-4].*-*) && \
- empty(MACHINE_PLATFORM:MNetBSD-4.99.*-*)
-. include "../../databases/db46/buildlink3.mk"
-# "slapd" locks up when used with Berkeley DB 4.7.x on a NetBSD system which
-# uses SA based POSIX threads. We therefore use the "db46" package with
-# version 4.6.x of Berkeley DB. Please look at PR pkg/39500 for more details.
-BDB_TYPE= db46
-. else
-BDB_ACCEPTED= db4 # db3?
-. include "../../mk/bdb.buildlink3.mk"
-. endif
-.endif
-BDB_TYPE?= none
-.if ${BDB_TYPE} != "none"
+# "slapd" locks up when used with Berkeley DB 4.7.x. We therefore use the
+# "db46" package with version 4.6.x of Berkeley DB.
+. include "../../databases/db46/buildlink3.mk"
CONFIGURE_ARGS+= --enable-bdb --enable-hdb
TEST_TARGET= test
.else