From b484b053072116b9f249af4075192f73f215e484 Mon Sep 17 00:00:00 2001 From: edwin Date: Thu, 24 Apr 2003 11:35:43 +0000 Subject: 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 --- net/openldap20-server/Makefile | 4 ++-- net/openldap20/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'net') diff --git a/net/openldap20-server/Makefile b/net/openldap20-server/Makefile index 0c3f2db..b837fa9 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 diff --git a/net/openldap20/Makefile b/net/openldap20/Makefile index 0c3f2db..b837fa9 100644 --- a/net/openldap20/Makefile +++ b/net/openldap20/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 -- cgit v1.1