Subject: Re: pkg/29723: xpm builtin detection is problematic on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: grant beattie <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 03/17/2005 05:46:02
The following reply was made to PR pkg/29723; it has been noted by GNATS.

From: grant beattie <grant@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: pkg/29723: xpm builtin detection is problematic on Solaris
Date: Thu, 17 Mar 2005 16:45:16 +1100

 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.