Subject: Re: pkg/17763: misc/openoffice Makefile runs xdpyinfo which may hang
To: NetBSD GNATS submissions and followups <email@example.com>
From: Michael Rauch <firstname.lastname@example.org>
Date: 07/31/2002 14:23:46
On Wed, Jul 31, 2002 at 10:50:13AM -0400, Greg A. Woods wrote:
> [ On Tuesday, July 30, 2002 at 14:24:58 (+0200), email@example.com wrote: ]
> > Subject: pkg/17763: misc/openoffice Makefile runs xdpyinfo which may hang
> > It appears that misc/openoffice really does depend on a
> > working X11 server for its build. However, it is also
> > apparent that the display checking code does not work as
> > intended in all situations.
> I would also guess that any program which seems to need to know about
> the display parameters during build might not be very portable as a
> binary package....
well, in case of openoffice it needs to connect to an X server to generate
some image files on the fly (don't ask me details, I haven't written the code).
Nothing of the DISPLAY variable gets recorded, so it is completely portable
in that aspect.
To the original bug report:
I've changed the Makefile so that the line with xdpyinfo is now inside the
"checkforx" target and only gets executed for the targets we really need an
Xserver (build and install), similar to what Thomas suggested.