Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / opensc / options.mk
blob83a164f89eae632a11bbebda81350d37ea065895
1 # $NetBSD: options.mk,v 1.2 2012/11/30 14:44:34 gdt Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.opensc
5 # Arguably these should be selectable individually, but upstream requires
6 # that exactly one be chosen.
7 PKG_OPTIONS_REQUIRED_GROUPS= cardreader
8 PKG_OPTIONS_GROUP.cardreader= pcsc-lite openct
9 PKG_SUGGESTED_OPTIONS= pcsc-lite
11 .include "../../mk/bsd.options.mk"
13 .if !empty(PKG_OPTIONS:Mpcsc-lite)
14 .include "../../security/pcsc-lite/buildlink3.mk"
15 CONFIGURE_ARGS+= --enable-pcsc
16 CONFIGURE_ARGS+= --with-pcsc-provider=${BUILDLINK_PREFIX.pcsc-lite}/lib/libpcsclite.la
17 .else
18 CONFIGURE_ARGS+= --disable-pcsc
19 .endif
21 .if !empty(PKG_OPTIONS:Mopenct)
22 .include "../../security/openct/buildlink3.mk"
23 CONFIGURE_ARGS+= --enable-openct
24 .else
25 CONFIGURE_ARGS+= --disable-openct
26 .endif