summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgdt <gdt>2012-12-03 20:23:15 +0000
committergdt <gdt>2012-12-03 20:23:15 +0000
commit366bedfd6ebf03581bd2a9b663ee611afe915214 (patch)
tree1c1e7092c6f9f29482cbac1e441629eabeb57ea0 /security
parent7dac16263fe811cc946782e7e6c9bfd5503ac6ef (diff)
downloadpkgsrc-366bedfd6ebf03581bd2a9b663ee611afe915214.tar.gz
Make cardreader package choice an option group.
No functional change, other than building with both or neither cardreader package will error from the options framework instead of at configure time.
Diffstat (limited to 'security')
-rw-r--r--security/opensc/options.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/opensc/options.mk b/security/opensc/options.mk
index 094f1c54a9f..b653981d814 100644
--- a/security/opensc/options.mk
+++ b/security/opensc/options.mk
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.2 2012/11/30 14:44:34 gdt Exp $
+# $NetBSD: options.mk,v 1.3 2012/12/03 20:23:15 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.opensc
-# Really this should be an options group; exactly one of openct,
-# pcsc-lite, or ctapi must be specified.
-PKG_SUPPORTED_OPTIONS= pcsc-lite openct
+# Arguably these should be selectable individually, but upstream requires
+# that exactly one be chosen.
+PKG_OPTIONS_REQUIRED_GROUPS= cardreader
+PKG_OPTIONS_GROUP.cardreader= pcsc-lite openct
PKG_SUGGESTED_OPTIONS= pcsc-lite
.include "../../mk/bsd.options.mk"