Subject: bin/47: Another make problem. -DPOSIX breaks imake generated files.
To: None <gnats-admin>
From: None <>
List: netbsd-bugs
Date: 12/16/1993 16:50:06
>Number:         47
>Category:       bin
>Synopsis:       Adding -DPOSIX to make build breaks some makefiles (X ones)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 16 16:50:04 1993
>Originator:     Peter Galbavy
>Release:        NetBSD-current > 931213
System: NetBSD 0.9a GENERICAHBBT#9 i386
Since -DPOSIX was added to the make build, makefiles generated by imake
have broken. This is due to line with white-space (spaces mainly) that
set variables. This is very common in X makefiles; eg.

       TOP = ../../.
Find an Imakefile based source tree, and try xmkmf -a...
The quick hack is to comment out -DPOSIX in src/usr.bin/make/Makefile,
and rebuild/install make. I do not know is POSIX explicitly excludes
these types of line from makefiles, but then someone would have noticed
by now ?