summaryrefslogtreecommitdiff
path: root/regress/pkg-options/files/all.mk
blob: b344df2d83582a9dec928d1c5d0a624f8131a5ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: all.mk,v 1.3 2005/06/01 13:40:46 dillo Exp $
#
# This file tests legacy variables and precedence of the various
# option variables.
#

MAKECONF=		/dev/null

PKG_OPTIONS_LEGACY_VARS+=USE_F:f-1
PKG_OPTIONS_LEGACY_VARS+=USE_G:g
PKG_OPTIONS_LEGACY_VARS+=NO_H:-h

PKG_OPTIONS_VAR=	PKG_OPTIONS.foo
PKG_SUPPORTED_OPTIONS=	a  b  c  d  e  f-1  g  h
PKG_SUGGESTED_OPTIONS=	   b  c     e          h
PKG_DEFAULT_OPTIONS=	a -b     d
PKG_OPTIONS.foo=	     -c -d         -g
USE_F=YES
USE_G=YES
NO_H=YES

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

.PHONY: test
test:
	echo ${PKG_OPTIONS:M*:Q}