Subject: CVS commit: pkgsrc/mk/configure
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/12/2007 18:59:17
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Jul 12 18:59:17 UTC 2007

Modified Files:
	pkgsrc/mk/configure: bsd.configure-vars.mk configure.mk
	    gnu-configure.mk
Added Files:
	pkgsrc/mk/configure: install-sh-override.mk

Log Message:
No longer pass install_sh in the environment to GNU configure scripts.

We fix GNU configure script stupidity by directly replacing the stock
install-sh script provided by the software with the BSD install-compatible
sysutils/install-sh script.

A new package-settable variable comes to life:

INSTALL_SH_OVERRIDE is a list of files relative to WRKSRC which
	should be overridden by the install-sh script from
	sysutils/install-sh.  If not defined or set to "no", then
	no files are overridden.

	Possible values: no, defined, undefined.

	Default value: defined when GNU_CONFIGURE is defined, undefined
	otherwise.

Get rid of the install_sh tool, which is no longer needed.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/configure/bsd.configure-vars.mk
cvs rdiff -r1.17 -r1.18 pkgsrc/mk/configure/configure.mk
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/configure/gnu-configure.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/configure/install-sh-override.mk

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