diff options
author | spz <spz@pkgsrc.org> | 2009-09-15 20:03:47 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2009-09-15 20:03:47 +0000 |
commit | bc674bdb1dd0bb2ba3f2f0f9caf4fdc5394e91fa (patch) | |
tree | 8c9f254ee09469867eb9e6e4f25ad471bfae23f1 /security/pkcs11-helper/options.mk | |
parent | 0bab02efa098ace986930be301d3914207e0f594 (diff) | |
download | pkgsrc-bc674bdb1dd0bb2ba3f2f0f9caf4fdc5394e91fa.tar.gz |
take wip/pkcs11-helper as generated by Daniel 'morr' Horecki <shinden@@linux.pl>
add options, DESTDIR, LICENSE and other small updates to pkgsrc-current
Diffstat (limited to 'security/pkcs11-helper/options.mk')
-rw-r--r-- | security/pkcs11-helper/options.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/security/pkcs11-helper/options.mk b/security/pkcs11-helper/options.mk new file mode 100644 index 00000000000..6de94fe682b --- /dev/null +++ b/security/pkcs11-helper/options.mk @@ -0,0 +1,30 @@ +# $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 |