NetBSD-Bugs archive

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

Re: toolchain/37938: Solaris 10 / SPARC hosted build of NetBSD fails in MAKEDEV.awk



On Fri, 01 Feb 2008, palle%lyckegaard.dk@localhost wrote:
> The attached patch to src/etc/MAKEDEV.awk removes an issue with building 
> NetBSD on a Solaris 10 / SPARC hosted system (with PATH as described in 
> src/tools/compat/README)

What's the exact error message?

> 84d83
> < 
> 96c95
> <     if ( length(CONSOLE_CMAJOR) == 0) {
> ---
> >     if (CONSOLE_CMAJOR == "") {

(In future, please submit patches in unidiff format, as produced by
"cvs diff -u".)

MAKEDEV.awk already contains the line 'if (CONSOLE_CMAJOR == "") {'.
If you have a copy with 'if ( length(CONSOLE_CMAJOR) == 0) {' then
I don't know where you obtained it.

As far as I can tell from reading
<http://www.opengroup.org/onlinepubs/009695399/utilities/awk.html>,
both variants should be acceptable.

--apb (Alan Barrett)



Home | Main Index | Thread Index | Old Index