summaryrefslogtreecommitdiff
path: root/security/gnupg1
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-11-12 13:37:25 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-11-12 13:37:25 +0000
commit241fff111cc684d18389567a11ed58cd1c16c301 (patch)
tree806262959e82341e3030fe797b99925985eb1f6f /security/gnupg1
parento Replace spaces with tab to make portlint happy. (diff)
What users should use is WITH_LDAP and USE_OPENLDAP is for ports
system. Submitted by: Alex Dupre <sysadmin@alexdupre.com> PR: ports/59151
Notes
Notes: svn path=/head/; revision=93814
Diffstat (limited to 'security/gnupg1')
-rw-r--r--security/gnupg1/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 49ac0839b6c3..0ee11e40e531 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -35,10 +35,8 @@ MAN7= gnupg.7
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
-.if defined(USE_OPENLDAP) || exists(${PREFIX}/lib/libldap.so.2)
-WITH_LDAP= yes
-.endif
-.if defined(WITH_LDAP)
+.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
+USE_OPENLDAP= yes
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "