summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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
diff --git a/net/openldap20/Makefile b/net/openldap20/Makefile
index 0c3f2db1d01a..b837fa924728 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