Subject: Anyone else having troubles with today's sources and bsd.sys.mk line
To: None <port-macppc@netbsd.org>
From: Bill Studenmund <wrstuden@zembu.com>
List: port-macppc
Date: 10/10/2000 16:57:43
I'm trying to make a snapshot, and am running into problems. Specifically
when I do a make clean, and the job gets to lib/libbz2, I see:

"/usr/src/share/mk/bsd.sys.mk", line 19: warning: String comparison operator should be either == or !=
"/usr/src/share/mk/bsd.sys.mk", line 19: Malformed conditional (${WFORMAT} > 1 && defined(FORMAT_AUDIT))
"/usr/src/share/mk/bsd.sys.mk", line 19: Missing dependency operator
"/usr/src/share/mk/bsd.sys.mk", line 22: if-less endif
"/usr/src/share/mk/bsd.sys.mk", line 22: Need an operator

At first, I thought I was running into a problem with my make being too
old. So I bult a current make. Still have that problem. Then I tried a 1.5
make. Still have that problem.

I'm using libc.so.12.62.1. There were a few updates when I just cvs
updated, but they mostly were pipe related. So I don't think it's libc's
fault.

Adding parentesis didn't help. ".if (${WFORMAT} > 1) && defined(FORMAT_AUDIT)"
had the problem, as did ".if (${WFORMAT} > 1) && (defined(FORMAT_AUDIT))"
and a few others.

The weird thing was that ".if defined(FORMAT_AUDIT) && ${WFORMAT} > 1" is
fine.

Neither of the above cases seems to depend on whether or not FORMAT_AUDIT
is defiend.

Anyone els seeing this, or is my machine just loopy?

Take care,

Bill