Subject: Re: pkg-config vs. buildlink3
To: Jeremy C. Reed <reed@reedmedia.net>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 04/20/2005 19:55:45
On Wed, 20 Apr 2005 10:51:16 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> That seems better to me also.
> 
> I see that pkg-config just recently broke this. See:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=119
> 
>    * main.c (main): Use add_search_dirs for both the compile-time
>    defined pc_path and the run-time defined PKG_CONFIG_PATH.
> 
> I'd suggest we complain (via https://bugs.freedesktop.org/). If someone
> sets PKG_CONFIG_PATH then they shoujld not get default pc_path added to
> it. Maybe we could add a ./configure option to disable this.
> 
> We could use ./configure --with-pc-path but that would break our
> pkg-config for non-pkgsrc uses.

There's already the option --with-pc-path:

--with-pc-path          Override the default search path for .pc files

We can set it to /dev/null...