Subject: Re: pkg/29723: xpm builtin detection is problematic on Solaris
To: None <gnats-bugs@netbsd.org>
From: grant beattie <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 03/17/2005 16:45:16
On Thu, Mar 17, 2005 at 05:25:00AM +0000, sak8@eecs.cwru.edu 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
> #endif
> 
> #ifndef HasCplusplus
> #define HasCplusplus YES
> #endif
> 
> 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.

grant.