Subject: Re: devel/cvs and ./configure.lineno: 9897: Syntax error: "!"
To: None <reed@reedmedia.net>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: tech-pkg
Date: 12/04/2003 12:07:43
> This is under BSD/OS 4.3.1; the sh doesn't work good enough for pkgsrc.
> (So I use SH as bash.)
> 
> My fix was to do:
> 
> +REPLACE_INTERPRETER+=  sh
> +_REPLACE.sh.old=       .*/bin/sh
> +_REPLACE.sh.new=       ${SH}
> +_REPLACE_FILES.sh=     configure

IF you want to add the support of BSD/OS as well as
Linux/IRIX/etc. to pkgsrc, prepare some stuff in pkgsrc/mk
such as:

pkgsrc/mk/BSDOS.pkg.dist
pkgsrc/mk/BSDOS.x11.dist
pkgsrc/mk/defs.BSDOS.mk

Then put above definitions into defs.BSDOS.mk.  I have no
idea if BSDOS is better than BSD-OS or BSD_OS, though.

--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
May the peace be with us all.