blob: 228770ae946c6f2eeac230309a6763fdc0b2993f (
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
27
|
# $NetBSD: all.mk,v 1.4 2005/07/26 16:12:56 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_FAIL_REASON:M*:Q}
echo ${PKG_OPTIONS:M*:Q}
|