diff options
author | gdt <gdt> | 2012-12-03 20:23:15 +0000 |
---|---|---|
committer | gdt <gdt> | 2012-12-03 20:23:15 +0000 |
commit | a179ebe89fbb8f98cbfcfe0a48848166f78ce879 (patch) | |
tree | 1c1e7092c6f9f29482cbac1e441629eabeb57ea0 | |
parent | bcf03768c2fc0a8dc0f1a28057bf1a25e281404a (diff) | |
download | pkgsrc-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.mk | 9 |
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" |