pkgsrc/regress/pkg-options/Makefile
dillo 42816a484c To ease cleanup of the options namespace, add code to support legacy
option names:

PKG_OPTIONS_LEGACY_OPTS+=	old:new

If PKG_DEFAULT_OPTIONS or PKG_OPTIONS.foo contains option old (or
-old) it is rewritten to new (or -new) and a warning is issued by
the supported-options-message target.
2005-05-31 11:05:31 +00:00

21 lines
513 B
Makefile

# $NetBSD: Makefile,v 1.4 2005/05/31 11:05:31 dillo Exp $
#
DISTNAME= regress-pkg-options-1.0
CATEGORIES= regress
DISTFILES= # empty
MAINTAINER= rillig@NetBSD.org
COMMENT= Test bsd.options.mk framework
REGRESS_TESTS= all legacy-opt order simple unsupported
do-test:
.for t in ${REGRESS_TESTS}
@${_PKG_SILENT}${_PKG_DEBUG} \
${ECHO_MSG} "Running testcase "${t:Q}; \
${MAKE} ${MAKEFLAGS} -s -f ${FILESDIR:Q}/${t:Q}.mk test \
| diff - ${FILESDIR:Q}/${t:Q}.out
.endfor
.include "../../mk/bsd.pkg.mk"