summaryrefslogtreecommitdiff
path: root/regress/pkg-options/files/group-required.mk
blob: b998143e23eb4712ca338f8a85c9d32dbde3d14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: group-required.mk,v 1.1 2005/06/02 20:38:51 dillo Exp $
#
# This file tests that selecting no option from a requried group
# causes the package build to fail.
#

MAKECONF=		/dev/null

PKG_OPTIONS_VAR=	PKG_OPTIONS.unused
PKG_SUPPORTED_OPTIONS=	single
PKG_OPTIONS_REQUIRED_GROUPS=	req
PKG_OPTIONS_GROUP.req=	a b

.include "../../mk/bsd.options.mk"

.PHONY: test
test:
	echo ${PKG_FAIL_REASON:Q}