summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 1cf4b8f92576..802f9e8a7e21 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -99,7 +99,7 @@ CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --with-ldapsam
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib