svn commit: r435576 - head/devel/pkgconf

Tijl Coosemans tijl at FreeBSD.org
Wed Mar 8 13:06:50 UTC 2017


On Wed, 08 Mar 2017 12:18:30 +0100 Dag-Erling Smørgrav <des at des.no> wrote:
> 2) It did not occur to me that some ports would use the search path to
>    decide where to install their pc files.  I didn't know that was
>    possible, and I still don't understand how they do it, because there
>    is no documented command to retrieve that path.

pkg-config has a built-in pkg-config.pc file that can be queried.

% pkg-config --print-variables pkg-config
pc_path
% pkg-config --variable=pc_path pkg-config
/usr/local/lib/pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig


More information about the svn-ports-all mailing list