Subject: Re: make: add ksh spec and have compat mode use default shell
To: None <sjg@crufty.net>
From: Ben Harris <bjh21@netbsd.org>
List: tech-toolchain
Date: 07/31/2003 12:49:41
In article <20030731054947.23AEA691A@void.crufty.net> you write:
>The goal is to allow folk trying to build pkgsrc on non-BSD platforms
>to overcome some of the modern features used in our makefiles that are
>not supported by the native /bin/sh.
FWIW, the way this is handled in src/tools is to assert that the first "sh"
on the PATH will be POSIX-conformant (indeed, that the environment in
general will be). I can appreciate that this may not fit the pkgsrc way of
doing things, though.
>Thoughts?
I think you've removed the last use of _PATH_BSHELL from make, so you can
remove the corresponding parts of src/usr.bin/make/pathnames.h and
src/tools/make/configure.ac.
--
Ben Harris <bjh21@NetBSD.org>
Portmaster, NetBSD/acorn26 <URL:http://www.NetBSD.org/Ports/acorn26/>