diff options
Diffstat (limited to 'security/gnupg1')
-rw-r--r-- | security/gnupg1/Makefile | 6 |
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 " |