diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-10-14 08:22:42 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-10-14 08:22:42 +0000 |
commit | 4dbd49b80f94cc3a07a6e86e06c9086e1099b91d (patch) | |
tree | 78dfc344087ab8c07dc5e0ed5f36de954740d590 /security | |
parent | Upgrade to 1.4. (diff) |
Respect USE_OPENLDAP(WANT_OPENLDAP_VER).
Pointed out by: lofi
Notes
Notes:
svn path=/head/; revision=91149
Diffstat (limited to 'security')
-rw-r--r-- | security/gnupg/Makefile | 6 | ||||
-rw-r--r-- | security/gnupg1/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
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 " 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 " |