summaryrefslogtreecommitdiff
path: root/regress/pkg-options/Makefile
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-05-31 11:05:31 +0000
committerdillo <dillo@pkgsrc.org>2005-05-31 11:05:31 +0000
commit42816a484c346f31d606710fbd2df921fa0d3a76 (patch)
tree93fb1405b5ed4f1565c3a391342533d007a58bc8 /regress/pkg-options/Makefile
parent671529f3f67028d8d34edc30e81be852974793ed (diff)
downloadpkgsrc-42816a484c346f31d606710fbd2df921fa0d3a76.tar.gz
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.
Diffstat (limited to 'regress/pkg-options/Makefile')
-rw-r--r--regress/pkg-options/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/pkg-options/Makefile b/regress/pkg-options/Makefile
index 539411f1702..127874567b8 100644
--- a/regress/pkg-options/Makefile
+++ b/regress/pkg-options/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/05/28 12:16:43 dillo Exp $
+# $NetBSD: Makefile,v 1.4 2005/05/31 11:05:31 dillo Exp $
#
DISTNAME= regress-pkg-options-1.0
@@ -8,7 +8,7 @@ DISTFILES= # empty
MAINTAINER= rillig@NetBSD.org
COMMENT= Test bsd.options.mk framework
-REGRESS_TESTS= all order simple unsupported
+REGRESS_TESTS= all legacy-opt order simple unsupported
do-test:
.for t in ${REGRESS_TESTS}