aboutsummaryrefslogtreecommitdiffstats
path: root/security/gnupg
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-11-12 21:37:25 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-11-12 21:37:25 +0800
commitc8e0b93dbe469a1dc482a74c4bdb72abef97dc63 (patch)
tree6fa4909ec1d75d9949eea5aa515e54dee3acc2d5 /security/gnupg
parentf1666e96689b1ad3245ed8f3d92ed0d378f82db2 (diff)
downloadfreebsd-ports-graphics-c8e0b93dbe469a1dc482a74c4bdb72abef97dc63.tar.gz
freebsd-ports-graphics-c8e0b93dbe469a1dc482a74c4bdb72abef97dc63.tar.zst
freebsd-ports-graphics-c8e0b93dbe469a1dc482a74c4bdb72abef97dc63.zip
What users should use is WITH_LDAP and USE_OPENLDAP is for ports
system. Submitted by: Alex Dupre <sysadmin@alexdupre.com> PR: ports/59151
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 49ac0839b6c..0ee11e40e53 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/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 "