Subject: bin/47: Another make problem. -DPOSIX breaks imake generated files.
To: None <gnats-admin>
From: None <P.Galbavy@alice.wonderland.org>
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
>Organization:
Wonderland
>Release: NetBSD-current > 931213
>Environment:
System: NetBSD alice.wonderland.org 0.9a GENERICAHBBT#9 i386
>Description:
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 = ../../.
>How-To-Repeat:
Find an Imakefile based source tree, and try xmkmf -a...
>Fix:
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 ?
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------