summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-24 11:35:43 +0000
committeredwin <edwin@FreeBSD.org>2003-04-24 11:35:43 +0000
commitb484b053072116b9f249af4075192f73f215e484 (patch)
treee74a7e41c4a9e797933fa45d04ea3074815c2bc8
parent9df1a03babe251bcd6a8867006bcb51f6c9d810d (diff)
downloadFreeBSD-ports-b484b053072116b9f249af4075192f73f215e484.zip
FreeBSD-ports-b484b053072116b9f249af4075192f73f215e484.tar.gz
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>
-rw-r--r--net/openldap20-server/Makefile4
-rw-r--r--net/openldap20/Makefile4
2 files changed, 4 insertions, 4 deletions
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
OpenPOWER on IntegriCloud