aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg/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/gnupg/Makefile
parent946a062e53ca8894953b201b770ce54981be68cc (diff)
downloadports-32c3fee739ae0bd6954c2b66d98e0380221eb201.tar.gz
ports-32c3fee739ae0bd6954c2b66d98e0380221eb201.zip
Notes
Diffstat (limited to 'security/gnupg/Makefile')
-rw-r--r--security/gnupg/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 197ad0c026d1..e541a2ad3466 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/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: