Subject: Re: MipsArchitecture (was: Re: Problems building X11R6 server.)
To: Simon Burge <simonb@NetBSD.ORG>
From: Andy Doran <>
List: port-pmax
Date: 04/19/1999 03:43:23
On Mon, 19 Apr 1999, Simon Burge wrote:

> > It's just occured to me; if somebody builds World from xsrc on MIPS (but
> > not pmax), they'll try to build Xpmax... How do we know, in an Imakefile,
> > if it's NetBSD/pmax?
> It seems that OpenBSD gets around this by having the toolchain defining
> "pmax", which we don't do.  It would seem that we need a way for Imake
> to know what ${MACHINE} is.  The only idea that comes to mind is to
> always define XpmaxServer if we are on MipsArchitecture, and actually
> emit
> 	.if (${MACHINE} == "pmax"
> 		...
> 	.endif
> to the resultant Makefile.  Ugly...

Hmm. I was hoping for a nicer solution than this. How about in the
toplevel Xserver/Imakefile, around the XpmaxServer bit? Yeah, that'd be
ugly, but at least it's just one single hack.

> Of course, we could always rewrite the Makefiles with BSD-style
> Makefiles :-)  (And that's a semi-serious ":-)").

Hehehe; the urge to 'purify' X11 <g>...