Subject: Re: Trouble building libiconv on Solaris 10/sparc
To: None <rillig@NetBSD.org, stb@lassitu.de>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 08/05/2005 18:01:20
I think the change will be done in bmake to take care of SHELL,
or use /bin/ksh as default shell for solaris in bmake. (maybe CONFIG_SHELL when
building boostrap)
I work with your mk/install/bsd.pkginstall.mk revision 1.6.
But I can't install poveray with bmake but with gmake.
Gilles
------------------------------------
<root@u2: 1157> echo $SHELL
/bin/bash
<root@u2: 1158> export SHELL
<root@u2: 1159> bmake install
Making install in libraries
Making install in source
Making install in base
Making install in frontend
Making install in unix
/bin/ksh ../config/mkinstalldirs /usr/pkg/bin
/usr/ucb/install -c -s -o root -g root -m 555 povray /usr/pkg/bin/povray
/bin/ksh ./config/mkinstalldirs /usr/pkg/share/povray-3.6
Creating data directories...
Copying data files...
Creating documentation directories...
Copying documentation files...
Copying user configuration and INI files...
/bin/sh: test: argument expected
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/povray/work/povray-3.6.1
*** Error code 1
--------------------------------------
> From: Stefan Bethke <stb@lassitu.de>
> Subject: Re: Trouble building libiconv on Solaris 10/sparc
>
>
> Am 04.08.2005 um 17:40 schrieb Roland Illig:
>
> > Stefan Bethke wrote:
> >
> >> # bmake _PKG_DEBUG_LEVEL=100 post-build/bin/sh: bad substitution
> >>
> >
> > I just fixed it. Please cvs update and try again.
> >
> > You need mk/install/bsd.pkginstall.mk revision 1.6.
>
> Thanks; I found this:
> http://mail-index.netbsd.org/tech-toolchain/2002/03/26/0005.html
>
> Replacing /bin/sh with /usr/xpg4/bin/sh fixed my issue as well.
>
> From reading that message, it sounds like a good thing to do anyway.
>
>
> Stefan
>
> --
> Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140