2013-09-26 17:14:40 +02:00

31 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