aboutsummaryrefslogtreecommitdiffstats
path: root/security/gnupg
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 6e91eb9737a1..96e4d97d5466 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -35,7 +35,7 @@ MAN7= gnupg.7
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
-.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
+.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
PLIST_SUB+= WITH_LDAP=""
.else