Subject: Re: bmake-20071008 posted
To: None <tech-pkg@NetBSD.org>
From: Simon Gerraty <sjg@juniper.net>
List: tech-pkg
Date: 10/12/2007 10:43:01
>Hmm, the defshell handling in pkgsrc/devel/bmake's configure
>script doesn't appear to have been updated after my changes. The
The pkgsrc bmake hasn't been updated in ages.
Last night I posted bmake-20071011 which does update the configure
handling for defshell - and even uses /usr/xpg4/bin/sh by default on
SunOS. I also fixed a but in job.c - so a full path doesn't get /bin
prepended.
>This should probably all change again now that _BASENAME_DEFSHELL is
>allowed to be a full path (and yet again if you follow my suggestion to
>rename the _DEFSHELL_BASENAME variable).
Not sure I followed that - the names do seem a bit odd though.
>Is it desirable to retain the old mapping from DEFSHELL values to shell
>names? If so, we'd have to shuffle the order of the shells[] array
>again and re-work the _DEFSHELL_BASENAME stuff to suit.
Right now, you can select
--with-defshell={sh,csh,ksh}
and it will use the builtin entry for the named shell.
Any other value will result in setting _BASENAME_DEFSHELL
(which I'd rename to _PATH_DEFSHELL or something like that)
and it had better be sh compatible.
--sjg