summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/gnupg/Makefile2
-rw-r--r--security/gnupg1/Makefile2
2 files changed, 2 insertions, 2 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
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 6e91eb9737a1..96e4d97d5466 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/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