Subject: Re: Is the Solaris /bin/sh still considered supported by pkgsrc?
To: Roland Illig <>
From: Alistair Crooks <>
List: tech-pkg
Date: 11/23/2007 17:08:18
On Fri, Nov 23, 2007 at 12:32:14PM +0100, Roland Illig wrote:
> Hi,
> on Solaris, the current pkgsrc bootstrap uses a reasonable shell for 
> bmake. We have a lot of code in pkgsrc that looks very ugly just because 
> we support the Solaris /bin/sh. I would like to clean that up. But 
> before, we must be sure that no-one is using the Solaris /bin/sh 
> anymore. The appended patch does exactly this.
> Any objections?

FYI, the original Solaris port of pkgsrc used /usr/xpg4/bin/ksh
as the shell. I distinctly disapproved of the move to /bin/sh,
but as I was no longer using Solaris at the time, and as I was
told that ksh was too slow by the people using Solaris (it was
slow, but acceptable, for me), against my better judgement /bin/sh it

Your patch for the bootstrap, whilst good, and a step forward,
is only papering over the cracks. The real solution to the crack
is to get Sun to drag their userland into the 1990s.

But, yes, let's move forward with this one.