aboutsummaryrefslogtreecommitdiff
path: root/security/dirmngr
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-05-04 21:24:50 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-05-04 21:24:50 +0000
commit7cbe484cf23b9b703fb2458ba2b70426c8c0bdf5 (patch)
tree90a9289af3b05df035d52e9d8643dc86197059d2 /security/dirmngr
parentdec337bc3f4dec19009e45222689a503b60833a3 (diff)
downloadports-7cbe484cf23b9b703fb2458ba2b70426c8c0bdf5.tar.gz
ports-7cbe484cf23b9b703fb2458ba2b70426c8c0bdf5.zip
Add dependency on openldap
PR: 51749 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=80127
Diffstat (limited to 'security/dirmngr')
-rw-r--r--security/dirmngr/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
index 4bba57830e3f..c4e97f4ebc68 100644
--- a/security/dirmngr/Makefile
+++ b/security/dirmngr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dirmngr
PORTVERSION= 0.4.3
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG} \
http://tigress.com/lofi/:lofi/
@@ -35,6 +36,15 @@ CONFIGURE_ARGS+=--with-included-gettext=no
.include <bsd.port.pre.mk>
+# We need OpenLDAP. Default on openldap20 but let people build with
+# OpenLDAP 2.1.* if they want.
+
+.if defined(WITH_LDAP21)
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
+.else
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
+.endif
+
post-extract:
${MV} ${WRKDIR}/common ${WRKSRC}