pkgsrc/regress/pkg-options/files/sets.mk
dillo a6f3882d40 Add support for sets of options where at least one option from each
set must be selected, requested and reviewed by wiz:

PKG_OPTIONS_NONEMPTY_SETS
       This is a list of names of sets of options.  At
       least one option from each set must be selected.
       The options in each set are listed in
       PKG_OPTIONS_SET.<setname>.  Options from the sets
       will be automatically added to PKG_SUPPORTED_OPTIONS.
2005-07-26 09:00:42 +00:00

20 lines
413 B
Makefile

# $NetBSD: sets.mk,v 1.1 2005/07/26 09:00:42 dillo Exp $
#
# This file tests non-empty option sets (PKG_OPTIONS_NONEMPTY_SETS).
#
MAKECONF= /dev/null
PKG_OPTIONS_VAR= PKG_OPTIONS.foo
PKG_SUPPORTED_OPTIONS= single
PKG_OPTIONS_NONEMPTY_SETS= abc def
PKG_OPTIONS_SET.abc= a b c
PKG_OPTIONS_SET.def= d e f
PKG_OPTIONS.foo= a
.include "../../mk/bsd.options.mk"
.PHONY: test
test:
echo ${PKG_FAIL_REASON:Q}