tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bmake's shell is always /bin/sh?



On Sun, Feb 09, 2014 at 07:53:05PM +0900, Ryo ONODERA wrote:
> How to change the shell invoked from bmake?

devel/bmake/Makefile contains some code for shell selection already:

.if !empty(MACHINE_PLATFORM:MSunOS-5.11-*) && exists(/usr/bin/bash)
CONFIGURE_ARGS+=        --with-defshell=/usr/bin/bash
.elif ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "IRIX"
DEPENDS+=               pdksh-[0-9]*:../../shells/pdksh
CONFIGURE_ARGS+=        --with-defshell=${PREFIX}/bin/pdksh
.endif

Can you extend that?
 Thomas


Home | Main Index | Thread Index | Old Index