diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-10-14 16:22:42 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-10-14 16:22:42 +0800 |
commit | f8bad529efd83a6e5e8971bac02402cb38f47652 (patch) | |
tree | 9025b6cc421e9b4fbc8cab4cedd15984ed0717a8 /security/gnupg | |
parent | 70ffac8d7a1207a152ad9b255de182736db78272 (diff) | |
download | freebsd-ports-gnome-f8bad529efd83a6e5e8971bac02402cb38f47652.tar.gz freebsd-ports-gnome-f8bad529efd83a6e5e8971bac02402cb38f47652.tar.zst freebsd-ports-gnome-f8bad529efd83a6e5e8971bac02402cb38f47652.zip |
Respect USE_OPENLDAP(WANT_OPENLDAP_VER).
Pointed out by: lofi
Diffstat (limited to 'security/gnupg')
-rw-r--r-- | security/gnupg/Makefile | 6 |
1 files changed, 4 insertions, 2 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 " |