pkgsrc/security/gnupg21/options.mk
fhajny 9a1841c7d1 Add options.mk to properly select, detect and link in LDAP support.
Bump PKGREVISION as this removes dirmngr_ldap from default PLIST.
2015-10-08 13:35:39 +00:00

16 lines
428 B
Makefile

# $NetBSD: options.mk,v 1.1 2015/10/08 13:35:39 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnupg21
PKG_SUPPORTED_OPTIONS= ldap
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ldap
.if !empty(PKG_OPTIONS:Mldap)
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
PLIST.ldap= yes
.include "../../databases/openldap-client/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ldap
.endif