Subject: Re: CVS commit: pkgsrc/shells/pdksh
To: None <pkgsrc-changes@netbsd.org>
From: Amitai Schlair <schmonz@schmonz.com>
List: pkgsrc-changes
Date: 11/28/2002 12:29:31
On Thursday, November 28, 2002, at 11:41  AM, Jan Schaumann wrote:

> Amitai Schlair <schmonz@netbsd.org> wrote:
>
>> Update of /cvsroot/pkgsrc/shells/pdksh
>> In directory minbar.netbsd.org:/tmp/cvs-serv28536
>>
>> Log Message:
>> Import pdksh-5.2.14 into the NetBSD Packages Collection.
>
> Two questions.  One:
>
> [jschauma]$ echo $SHELL
> /bin/ksh
> [jschauma]$ ^vPD KSH v5.2.14 99/07/13.2
>
> So is this pkgsrc-pdksh significantly different from NetBSD's /bin/ksh
> (features?)?

I'm hoping it's significantly similar. :-)

Older Darwins don't have a suitable BUILDLINK_SHELL built in. Currently, 
to get around this, we have shells/bash2 and all of its dependencies 
unbuildlinked.

pdksh has a much simpler build process and no dependencies. If it proves 
workable as a BUILDLINK_SHELL on Darwin, we can return to using 
buildlink2 with bash, gettext-lib, libiconv, and libtool-base.

> Two:
>
> [jschauma]$ cd /usr/pkgsrc/shells/pdksh
> [pdksh]$ make
> [...]
> creating Makefile
> sed: 6: "1i\
> # Generated automat ...": unescaped newline inside substitute pattern
> creating config.h
> ===> Building for pdksh-5.2.14nb1
> make: don't know how to make all. Stop

Haven't seen that on NetBSD 1.6 or Darwin 5.5. If you can't determine 
what caused it, please send-pr.

- Amitai