summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-07 21:48:30 +0000
committerrillig <rillig@pkgsrc.org>2007-10-07 21:48:30 +0000
commit0c31da43e2398e7d95794160d9bfa3e8a3e50547 (patch)
tree453bbbb13cfa3c70a968de0f5ba0de31216cbcf4
parent7efc027683eacd7fb8a297ff73a0c9326037ea26 (diff)
downloadpkgsrc-0c31da43e2398e7d95794160d9bfa3e8a3e50547.tar.gz
Added _VARGROUPS.
-rw-r--r--mk/bsd.options.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk
index c5c5788cd93..463b0a06626 100644
--- a/mk/bsd.options.mk
+++ b/mk/bsd.options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.62 2007/08/29 15:59:52 rillig Exp $
+# $NetBSD: bsd.options.mk,v 1.63 2007/10/07 21:48:30 rillig Exp $
#
# This Makefile fragment provides boilerplate code for standard naming
# conventions for handling per-package build options.
@@ -148,6 +148,15 @@
#
# Keywords: options.mk
+_VARGROUPS+= options
+_USER_VARS.options= PKG_DEFAULT_OPTIONS ${PKG_OPTIONS_VAR}
+_PKG_VARS.options= PKG_SUPPORTED_OPTIONS PKG_OPTIONS_VAR \
+ PKG_OPTIONS_OPTIONAL_GROUPS PKG_OPTIONS_REQUIRED_GROUPS \
+ PKG_OPTIONS_NONEMPTY_SETS PKG_SUGGESTED_OPTIONS \
+ PKG_OPTIONS_LEGACY_VARS PKG_OPTIONS_LEGACY_OPTS \
+ PKG_LEGACY_OPTIONS PKG_OPTIONS_DEPRECATED_WARNINGS
+_SYS_VARS.options= PKG_OPTIONS
+
.include "../../mk/bsd.prefs.mk"
# Define PKG_OPTIONS, no matter if we have an error or not, to suppress