From 4dbd49b80f94cc3a07a6e86e06c9086e1099b91d Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Tue, 14 Oct 2003 08:22:42 +0000 Subject: Respect USE_OPENLDAP(WANT_OPENLDAP_VER). Pointed out by: lofi --- security/gnupg/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'security/gnupg') diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile index 3537cc83fe0f..6c965f9b00bd 100644 --- a/security/gnupg/Makefile +++ b/security/gnupg/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 " -- cgit v1.2.3