Subject: Re: CVS commit: pkgsrc/mk/install
To: None <tech-pkg@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 08/04/2005 19:01:03
Johnny Lam wrote:
> Roland Illig wrote:
> 
>> Modified Files:
>>     pkgsrc/mk/install: bsd.pkginstall.mk
>>
>> Log Message:
>> 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.  This 

s,/usr/pkg,${LOCALBASE},g

Roland