Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / pkcs11-helper / options.mk
blob376b96bef9d4bb98216902ab7985711d5248d53d
1 # $NetBSD: options.mk,v 1.1 2009/09/15 20:03:47 spz Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.pkcs11-helper
4 PKG_SUPPORTED_OPTIONS= openssl gnutls nss
5 PKG_SUGGESTED_OPTIONS= openssl
7 .include "../../mk/bsd.options.mk"
9 # crypto engines to use
11 .if !empty(PKG_OPTIONS:Mopenssl)
12 .include "../../security/openssl/buildlink3.mk"
13 CONFIGURE_ARGS+=--enable-crypto-engine-openssl
14 .else
15 CONFIGURE_ARGS+=--disable-crypto-engine-openssl
16 .endif
18 .if !empty(PKG_OPTIONS:Mgnutls)
19 .include "../../security/gnutls/buildlink3.mk"
20 CONFIGURE_ARGS+=--enable-crypto-engine-gnutls
21 .else
22 CONFIGURE_ARGS+=--disable-crypto-engine-gnutls
23 .endif
25 .if !empty(PKG_OPTIONS:Mnss)
26 .include "../../devel/nss/buildlink3.mk"
27 CONFIGURE_ARGS+=--enable-crypto-engine-nss
28 .else
29 CONFIGURE_ARGS+=--disable-crypto-engine-nss
30 .endif