Subject: native BSD/OS 4.3.1 sh and native ksh not good enough
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 12/03/2003 13:09:14
A couple months ago I started using pkgsrc on BSD/OS.

I use SH as ksh because I get errors like:

===> Extracting for libtool-base-1.4.20010614nb17
/bin/sh: 1: Syntax error: ";;" unexpected
*** Error code 2

But now with ksh, I get errors like:

===> Buildlinking for libtool-base-1.4.20010614nb17
/usr/pkgsrc/devel/libtool-base/work/.buildlink/bin/.gen-transform: syntax
 `(' unexpected

This ksh error is at:
+ eval functions() { typeset -f ${1+"$@"}; }
/usr/pkgsrc/devel/libtool-base/work/.buildlink/bin/.gen-transform: syntax
error: `(' unexpected

My work-around is to use SH?=/bin/bash

/usr/contrib/bin/bash is a symlink to /bin/bash.

This is BSD/OS 4.3.1.

   Jeremy C. Reed