pkgsrc/security/pkcs11-helper/options.mk
spz 2515e31957 take wip/pkcs11-helper as generated by Daniel 'morr' Horecki <shinden@@linux.pl>
add options, DESTDIR, LICENSE and other small updates to pkgsrc-current
2009-09-15 20:03:47 +00:00

30 lines
791 B
Makefile

# $NetBSD: options.mk,v 1.1 2009/09/15 20:03:47 spz 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