summaryrefslogtreecommitdiff
path: root/regress/pkg-options/files/legacy-opt.mk
blob: 7bce7012339c2a400b13de2b712bb380d0e5bdd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: legacy-opt.mk,v 1.3 2005/07/19 10:38:19 dillo Exp $
#
# This file tests PKG_OPTIONS_LEGACY_OPTS.
#

MAKECONF=			/dev/null

PKG_OPTIONS_VAR=		PKG_OPTIONS.foo
PKG_SUPPORTED_OPTIONS=		new new2
PKG_OPTIONS_LEGACY_OPTS+=	old:new
PKG_OPTIONS_LEGACY_OPTS+=	old2:new2
PKG_OPTIONS_LEGACY_OPTS+=	old3:new3
PKG_OPTIONS.foo=		old

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

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