Subject: Re: pkg/30029: [PATCH] devel/glib2 patches in defines never seen
To: None <jmmv@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Idar Tollefsen <idart@performancedesign.no>
List: pkgsrc-bugs
Date: 04/22/2005 23:17:03
The following reply was made to PR pkg/30029; it has been noted by GNATS.

From: Idar Tollefsen <idart@performancedesign.no>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/30029: [PATCH] devel/glib2 patches in defines never seen
 by the compiler
Date: Sat, 23 Apr 2005 01:15:29 +0200

 pkg/30030 describes a similar problem in databases/shared-mime-info,
 but with a different solution.
 
 databases/shared-mime-info uses intltool, and when the build process
 detects changes made by the intltool override, it regenerates, among
 others, config.h. Putting the necessary definitions in config.h,
 as proposed for this problem, therefore doesn't work for 
 databases/shared-mime-info since config.h is overwritten after
 post-configure (and after pre-build for that matter).
 
 glib2 doesn't seem to use the intltool override, so that's not what's
 causing the problem here and the same solution can't be applied.