Subject: Re: pkg/29723: xpm builtin detection is problematic on Solaris
To: None <email@example.com>
From: grant beattie <grant@NetBSD.org>
Date: 03/17/2005 16:45:16
On Thu, Mar 17, 2005 at 05:25:00AM +0000, firstname.lastname@example.org wrote:
> In order to build xpm with gcc on Solaris, the following lines in /usr/local/lib/X11/config/site.def must be uncommented:
> #ifndef HasGcc2
> #define HasGcc2 YES
> #ifndef HasCplusplus
> #define HasCplusplus YES
> It would be nice if this was documented somewhere (I stumbled upon it), or if somehow pkgsrc enabled these imake defs automatically when using gcc (I have no idea how).
pkgsrc is supposed to pass the correct options but there is an
outstanding bug, PR pkg/29608.