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?
Hi,
Sadly, same error remains.
bmake invokes /bin/sh.
gcc -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib
-DBOOTSTRAP -g -O2 -c perform.c
gcc -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib
-DBOOTSTRAP -g -O2 -c show.c
gcc -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_info main.o perform.o
show.o -linstall -lsocket -lnbcompat
===> running: /bin/sh /tmp/bs/bin/install-sh -c -o 1000 -g 50 -m 755
/tmp/bs/pkg_install/admin/pkg_admin /tmp/bs/sbin/pkg_admin
===> running: /bin/sh /tmp/bs/bin/install-sh -c -o 1000 -g 50 -m 755
/tmp/bs/pkg_install/create/pkg_create /tmp/bs/sbin/pkg_create
===> running: /bin/sh /tmp/bs/bin/install-sh -c -o 1000 -g 50 -m 755
/tmp/bs/pkg_install/info/pkg_info /tmp/bs/sbin/pkg_info
===> Installing packages
===> running: (cd /usr/pkgsrc/pkgtools/bootstrap-mk-files && /tmp/bs/bin/bmake
USE_DESTDIR=no -DPKG_PRESERVE MAKECONF=/tmp/bs/mk.conf install)
.MAKE.LEVEL=1: is not an identifier
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/bootstrap-mk-files
===> exited with status 1
aborted.
bash-3.1$
From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sun, 09 Feb 2014
20:08:29 +0900 (JST)
> Hi,
>
> From: Thomas Klausner <wiz%NetBSD.org@localhost>, Date: Sun, 9 Feb 2014
> 11:57:36 +0100
>
>> 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?
>
> Thank youvery much!
> With following patch, bmake tests works fine.
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index