summaryrefslogtreecommitdiff
path: root/security/opensc
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2012-12-03 20:23:15 +0000
committergdt <gdt@pkgsrc.org>2012-12-03 20:23:15 +0000
commit48b803942a6aca68d1a48521e5386af77685f55b (patch)
tree1c1e7092c6f9f29482cbac1e441629eabeb57ea0 /security/opensc
parent8bce5d6b9698568b6cead8d1ab84b3e418578c30 (diff)
downloadpkgsrc-48b803942a6aca68d1a48521e5386af77685f55b.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/opensc')
-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"