Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 09/11/2006 22:24:09
Module Name:	src
Committed By:	dbj
Date:		Mon Sep 11 22:24:09 UTC 2006

Modified Files:
	src/bin/test: Makefile
	src/lib/libform: Makefile
	src/lib/libkrb5: Makefile
	src/lib/libl: Makefile
	src/share/mk: bsd.links.mk bsd.man.mk
	src/usr.bin/xinstall: xinstall.c

Log Message:
fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/bin/test/Makefile
cvs rdiff -r1.7 -r1.8 src/lib/libform/Makefile
cvs rdiff -r1.36 -r1.37 src/lib/libkrb5/Makefile
cvs rdiff -r1.12 -r1.13 src/lib/libl/Makefile
cvs rdiff -r1.31 -r1.32 src/share/mk/bsd.links.mk
cvs rdiff -r1.95 -r1.96 src/share/mk/bsd.man.mk
cvs rdiff -r1.95 -r1.96 src/usr.bin/xinstall/xinstall.c

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