aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg1
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-10-14 08:22:42 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-10-14 08:22:42 +0000
commit4dbd49b80f94cc3a07a6e86e06c9086e1099b91d (patch)
tree78dfc344087ab8c07dc5e0ed5f36de954740d590 /security/gnupg1
parentb460a6fc8681f0e01483b8c4f799913acbf19029 (diff)
downloadports-4dbd49b80f94cc3a07a6e86e06c9086e1099b91d.tar.gz
ports-4dbd49b80f94cc3a07a6e86e06c9086e1099b91d.zip
Notes
Diffstat (limited to 'security/gnupg1')
-rw-r--r--security/gnupg1/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 3537cc83fe0f..6c965f9b00bd 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -35,8 +35,10 @@ 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.2)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
+.if defined(USE_OPENLDAP) || exists(${PREFIX}/lib/libldap.so.2)
+WITH_LDAP= yes
+.endif
+.if defined(WITH_LDAP)
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "