pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/pkgtools/bootstrap-mk-files/files



On Sat, 16 Mar 2013 20:34:36 +0900, Aleksej Saushev <asau%inbox.ru@localhost> 
wrote:

Tim Zingelman <tez%netbsd.org@localhost> writes:

This breaks the bootstrap for solaris.

/bin/sh on solaris cannot handle the construct...

I think that it is general concensus that one should not ever use /bin/sh on 
Solaris.

# : ${OPSYS:=$(uname)}
syntax error: `(' unexpected

/usr/xpg4/bin/sh handles that.

# : ${OPSYS:=`uname`}
seems to work

But, also...

# id -un 0
id: illegal option -- u
Usage: id [-ap] [user]

# id -gn "root"
id: illegal option -- g
Usage: id [-ap] [user]

We should find a way to fix this before the branch is cut.

/usr/xpg4/bin/id handles that.

Thus, the solution for Solaris is the bog standard one,
have /usr/xpg4/bin in PATH before /usr/bin.

How about others marked as `need_ksh=yes' in bootstrap/bootstrap?

--
OBATA Akio / obache%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index