aboutsummaryrefslogtreecommitdiff
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 d353148e4a9a..632d1c6434bb 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -44,7 +44,7 @@ MAN7= gnupg.7
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
USE_ICONV= yes
.endif
-.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
+.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
USE_OPENLDAP= yes
PLIST_SUB+= WITH_LDAP=""
.else
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index d353148e4a9a..632d1c6434bb 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -44,7 +44,7 @@ MAN7= gnupg.7
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
USE_ICONV= yes
.endif
-.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
+.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
USE_OPENLDAP= yes
PLIST_SUB+= WITH_LDAP=""
.else