summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt>2012-12-03 20:23:15 +0000
committergdt <gdt>2012-12-03 20:23:15 +0000
commita179ebe89fbb8f98cbfcfe0a48848166f78ce879 (patch)
tree1c1e7092c6f9f29482cbac1e441629eabeb57ea0
parentbcf03768c2fc0a8dc0f1a28057bf1a25e281404a (diff)
downloadpkgsrc-a179ebe89fbb8f98cbfcfe0a48848166f78ce879.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.
-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"