pkgsrc/security/gpgme/options.mk
adam 598f61710d Changes 1.3.0:
* GPGME does not come with an internal libassuan version anymore.
  The external libassuan 1.1.0 release or later is required.  For
  application programmers on systems that can resolve inter-library
  dependencies at runtime, this is a transparent change.
* New engine GPGME_PROTOCOL_G13 to support the new g13 tool.
* New engine GPGME_PROTOCOL_UISERVER to support UI Servers.
* New API to change the passpgrase of a key.
2011-03-03 11:39:47 +00:00

21 lines
625 B
Makefile

# $NetBSD: options.mk,v 1.1 2011/03/03 11:39:47 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gpgme
PKG_SUPPORTED_OPTIONS= gpgsm
PKG_SUGGESTED_OPTIONS= gpgsm
.include "../../mk/bsd.options.mk"
##
## Option to build with gpgsm. This provides SMIME support
##
.if !empty(PKG_OPTIONS:Mgpgsm)
. include "../../security/gnupg2/buildlink3.mk"
CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg2}/bin/gpgsm
CONFIGURE_ARGS+= --with-gpg=${BUILDLINK_PREFIX.gnupg2}/bin/gpg2
REPLACE_SH+= tests/gpg/pinentry
.else
DEPENDS+= gnupg>=1.4.2:../../security/gnupg
CONFIGURE_ARGS+= --without-gpgconf
CONFIGURE_ARGS+= --without-gpgsm
.endif