summaryrefslogtreecommitdiff
path: root/net/openldap20-server
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-24 11:35:43 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-24 11:35:43 +0000
commitb909f64beee1921f7730a5b37b381e9cd4c29781 (patch)
treefd5d3dfd143c39023bda1b15d08e6d35f0d8ec22 /net/openldap20-server
parentUpgrade to 20021101 release (aka 1.0), which fixes compilation on (diff)
OpenLDAP 2.0 links with Berkeley DB 3.3 or 4.0, newer with 4.1. In
fact DB->open is incompatible between version 4.0 and 4.1. PR: - Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Notes
Notes: svn path=/head/; revision=79581
Diffstat (limited to 'net/openldap20-server')
-rw-r--r--net/openldap20-server/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openldap20-server/Makefile b/net/openldap20-server/Makefile
index 0c3f2db1d01a..b837fa924728 100644
--- a/net/openldap20-server/Makefile
+++ b/net/openldap20-server/Makefile
@@ -30,9 +30,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Open source LDAP client and server software
-.if exists(${LOCALBASE}/lib/libdb41.a)
+.if exists(${LOCALBASE}/lib/libdb4.so)
DB_CFLAGS= -I${LOCALBASE}/include/db4
-LIB_DEPENDS= db41:${PORTSDIR}/databases/db4
+LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
.else
DB_CFLAGS= -I${LOCALBASE}/include/db3
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3