Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Dieter Baron <dillo@netbsd.org>
List: pkgsrc-changes
Date: 05/31/2005 11:05:31
Module Name: pkgsrc
Committed By: dillo
Date: Tue May 31 11:05:31 UTC 2005
Modified Files:
pkgsrc/mk: bsd.options.mk
pkgsrc/regress/pkg-options: Makefile
Added Files:
pkgsrc/regress/pkg-options/files: legacy-opt.mk legacy-opt.out
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 pkgsrc/mk/bsd.options.mk
cvs rdiff -r1.3 -r1.4 pkgsrc/regress/pkg-options/Makefile
cvs rdiff -r0 -r1.1 pkgsrc/regress/pkg-options/files/legacy-opt.mk \
pkgsrc/regress/pkg-options/files/legacy-opt.out
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.