Subject: Re: CVS commit: pkgsrc/mk/install
To: Johnny Lam <jlam@NetBSD.org>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 08/04/2005 23:39:57
On Thu, 4 Aug 2005, Johnny Lam wrote:

> > Replaced the shell substitution ${egfile#${PREFIX}/} with a shell
> > function that does the same. The Solaris /bin/sh does not know this type
> > of substitution. Now we could only have problems with /bin/sh which do
> > not know functions, but as we are using shell functions in many other
> > places, this should be fine.
>
> I think what we should do is stop using /bin/sh on all platforms on which we
> use a bootstrap kit.  That means we should start shipping shells/pdksh as part
> of the bootstrap kit, and we should hard-code the bootstrap bmake to exec
> /usr/pkg/bin/pdksh instead of /bin/sh.

No.  Yuk.  Ick.  If anything, we should use NetBSD's /bin/sh with
appropriate libnbcompat support.  pdksh is slow as goats -- it's one big
reason the Interix port of pkgsrc is so slow (Interix's /bin/sh is pdksh).

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>