fbbddcc89d
* Do not attempt to logout if uninitialized. * Use OpenSSL engine's rsa_priv_enc instead of rsa_sign. Changes 1.07: * Minor Win64 fixup.
30 lines
784 B
Makefile
30 lines
784 B
Makefile
# $NetBSD: options.mk,v 1.2 2011/04/28 07:20:46 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pkcs11-helper
|
|
PKG_SUPPORTED_OPTIONS= openssl gnutls nss
|
|
PKG_SUGGESTED_OPTIONS= openssl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
# crypto engines to use
|
|
|
|
.if !empty(PKG_OPTIONS:Mopenssl)
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+=--enable-crypto-engine-openssl
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-crypto-engine-openssl
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnutls)
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
CONFIGURE_ARGS+=--enable-crypto-engine-gnutls
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-crypto-engine-gnutls
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mnss)
|
|
.include "../../devel/nss/buildlink3.mk"
|
|
CONFIGURE_ARGS+=--enable-crypto-engine-nss
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-crypto-engine-nss
|
|
.endif
|