Subject: Re: port-alpha/5586: port alpha does not define "unix"
To: (Chris Demetriou) <cgd@pa.dec.com>
From: Tim Rightnour <root@garbled.net>
List: netbsd-bugs
Date: 06/14/1998 17:25:37
On 14-Jun-98 Chris Demetriou spoke unto us all:
# >I dont happen to have toolchain source here (I really should get it) but
# >I'm pretty sure that define just needs to be changed in the corresponding
# >alpha tree.
# 
# No, that define needs to be _removed_ from other ports' definitions.
# 
# The NetBSD 'standard' CPP predefines are __NetBSD__, __${MACHINE_ARCH}__
# (where that's expanded as appropriate for the architecture), and
# _that's it_.  That is all that ports' compilers should define by default.
# 

I guess I don't understand why we don't define "unix".  Alot of third party
stuff relies on the fact that most unix or unix-like machines define that
automaticly.  However, if this is the case, then alot of our pkgs are broken,
and I will begin submitting patches to them to define unix in the makefiles. 
(I've found about 3 pkgs so far that rely on the "unix" define to build, and
thus fail on alpha, and I'm only into the "audio" tree.)  I guess if this is
our new behavior, you can go ahead and close this PR, and I'll follow up this
week with a bunch of patches to fix the pkgs it will break (on all arches).
 
---
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html