From owner-svn-ports-head@freebsd.org Wed Mar 8 13:06:50 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68D4CCFB0E7; Wed, 8 Mar 2017 13:06:50 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay105.isp.belgacom.be (mailrelay105.isp.belgacom.be [195.238.20.132]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD071186C; Wed, 8 Mar 2017 13:06:48 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2D3DwBoAMBY/0nD8VFdHAEBBAEBCgEBg?= =?us-ascii?q?1FRgRqDYIp/kFkpAZcbhhwEAgKCN0MVAQIBAQEBAQEBayiFFgEFIzMjEAsYAgI?= =?us-ascii?q?FIQICDyoeBhOKA7AUgiaKfgEBAQEBBQEBAQEBI4ELijKEVIMGgl8FnDaSK3Z6j?= =?us-ascii?q?z2TPjUigQM3LAiFEx2BZD81ihMBAQE?= X-IPAS-Result: =?us-ascii?q?A2D3DwBoAMBY/0nD8VFdHAEBBAEBCgEBg1FRgRqDYIp/kFk?= =?us-ascii?q?pAZcbhhwEAgKCN0MVAQIBAQEBAQEBayiFFgEFIzMjEAsYAgIFIQICDyoeBhOKA?= =?us-ascii?q?7AUgiaKfgEBAQEBBQEBAQEBI4ELijKEVIMGgl8FnDaSK3Z6jz2TPjUigQM3LAi?= =?us-ascii?q?FEx2BZD81ihMBAQE?= Received: from 73.195-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.195.73]) by relay.skynet.be with ESMTP; 08 Mar 2017 14:05:34 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v28D5Xi2041186; Wed, 8 Mar 2017 14:05:34 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Wed, 8 Mar 2017 14:05:32 +0100 From: Tijl Coosemans To: Dag-Erling =?UTF-8?B?U23DuHJncmF2?= Cc: Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r435576 - head/devel/pkgconf Message-ID: <20170308140532.449eba04@kalimero.tijl.coosemans.org> In-Reply-To: <86varkow3d.fsf@desk.des.no> References: <201703070103.v2713JtB059883@repo.freebsd.org> <86varkow3d.fsf@desk.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 13:06:50 -0000 On Wed, 08 Mar 2017 12:18:30 +0100 Dag-Erling Sm=C3=B8rgrav wr= ote: > 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=3Dpc_path pkg-config /usr/local/lib/pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig