Subject: Re: pkg/32733: shared-mime-info buildlink pkg-config wrapper doesn't find all modules
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-bugs
Date: 02/04/2006 17:55:01
The following reply was made to PR pkg/32733; it has been noted by GNATS.

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/32733: shared-mime-info buildlink pkg-config wrapper doesn't find all modules
Date: Sat, 4 Feb 2006 18:50:18 +0100

 On Sat, Feb 04, 2006 at 05:45:00PM +0000, jml@ascia.fi wrote:
 > When using any native pkgconfig enabled component (with shared-mime-info), work/.tools/bin/pkg-config does not find modules, whereas /usr/pkg/bin/pkg-config run directly does. Problem is that the wrapper script forces libpath to work/.buildlink/lib/pkgconfig, which is populated only with a _subset_ of /usr/pkg/lib/pkgconfig, not from $PKG_CONFIG_PATH.
 
 That's not a problem, that's the point of pkg-config being a tool,
 so pkgsrc has a chance to make sure the package only finds what
 the packager intended it to find.
 
 What is the actual problem you want to fix?
  Thomas