diff options
Diffstat (limited to 'security/dirmngr/Makefile')
-rw-r--r-- | security/dirmngr/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile index 4bba578..c4e97f4 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} |