Subject: CVS commit: pkgsrc/mk/flavor/pkg
To: None <pkgsrc-changes@NetBSD.org>
From: Greg Troxel <gdt@netbsd.org>
List: pkgsrc-changes
Date: 11/07/2007 13:50:09
Module Name:	pkgsrc
Committed By:	gdt
Date:		Wed Nov  7 13:50:09 UTC 2007

Modified Files:
	pkgsrc/mk/flavor/pkg: deinstall.mk replace.mk

Log Message:
Allow make replace to replace a package with a name other than the new
one, via "make replace OLDNAME=oldpkgname".

Enhance replace-names to use OLDNAME if present.  Move replace-names
target before replace-tarup, and change replace-tarup to use the
computed oldname. Make deinstall respect OLDNAME.

Tested on netbsd-current with standard make replace and with OLDNAME.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/flavor/pkg/deinstall.mk
cvs rdiff -r1.20 -r1.21 pkgsrc/mk/flavor/pkg/replace.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.