aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-05-05 05:24:50 +0800
committerarved <arved@FreeBSD.org>2003-05-05 05:24:50 +0800
commitdba40ae7d42c1a787ad797c60b9f27e855dcc11c (patch)
tree0c2755a27c6586cd48da98692e19ebec2600256d
parent6f7ffa404767a2802c638fe9dad88e4f2ef75ef6 (diff)
downloadfreebsd-ports-gnome-dba40ae7d42c1a787ad797c60b9f27e855dcc11c.tar.gz
freebsd-ports-gnome-dba40ae7d42c1a787ad797c60b9f27e855dcc11c.tar.zst
freebsd-ports-gnome-dba40ae7d42c1a787ad797c60b9f27e855dcc11c.zip
Add dependency on openldap
PR: 51749 Submitted by: maintainer
-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}