Subject: Nuking install_sh=... and friends
To: None <tech-pkg@NetBSD.org>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 06/20/2007 16:09:28
The code in pkgsrc for install_sh was originally motivated by concerns
for Interix, which needed directories to be created with mode 0775.
Instead of generating a separate script just for install-sh in the
tools directory and passing a defintion for install_sh to the GNU
configure script, it's far simpler to just replace the broken install-sh
in most distributions with one that works correctly.

The attached patch does the following:

(1) Removes install_sh from the CONFIGURE_ENV variable.

(2) Removes creation of an install-sh tool in ${TOOLS_DIR}.

(3) Replaces any install-sh script under ${WRKSRC} with the one from
    sysutils/install-sh, which is correct for our pkgsrc platforms
    and which also passes the BSD install regresion tests.

Thoughts?

	Cheers,

	-- Johnny Lam <jlam@pkgsrc.org>