summaryrefslogtreecommitdiff
path: root/security/gnupg1/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-08-04 03:42:11 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-08-04 03:42:11 +0000
commit32c3fee739ae0bd6954c2b66d98e0380221eb201 (patch)
treececf0f85613c767ba9a7c23e57f7024e82505f57 /security/gnupg1/Makefile
parentre-add py-matplotlib 0.60.2 (diff)
Link with openldap library only when WITH_LDAP knob is specified
explicitly.
Notes
Notes: svn path=/head/; revision=115382
Diffstat (limited to 'security/gnupg1/Makefile')
-rw-r--r--security/gnupg1/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 197ad0c026d1..e541a2ad3466 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnupg
PORTVERSION= 1.2.5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gnupg
@@ -46,11 +47,12 @@ INSTALL_TARGET= install mkinstalldirs=`pwd`/scripts/mkinstalldirs
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
USE_ICONV= yes
.endif
-.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
+.if defined(WITH_LDAP)
USE_OPENLDAP= yes
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "
+CONFIGURE_ARGS+= --disable-ldap
.endif
post-install: