From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 15 15:00:54 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A45D216A59D for ; Thu, 15 Jul 2004 15:00:54 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD2043D2D for ; Thu, 15 Jul 2004 15:00:54 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6FF0sdf062419 for ; Thu, 15 Jul 2004 15:00:54 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6FF0sAC062418; Thu, 15 Jul 2004 15:00:54 GMT (envelope-from gnats) Date: Thu, 15 Jul 2004 15:00:54 GMT Message-Id: <200407151500.i6FF0sAC062418@freefall.freebsd.org> To: gnome@FreeBSD.org From: Konstantin Oznobihin Subject: Re: ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Konstantin Oznobihin List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 15:00:54 -0000 The following reply was made to PR ports/69093; it has been noted by GNATS. From: Konstantin Oznobihin To: Adam Weinberger Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig Date: Thu, 15 Jul 2004 18:51:34 +0400 > >> (07.15.2004 @ 0749 PST): Konstantin Oznobihin said, in 3.2K: << > > In pkg-config(1) it is said that the default directory to search > > for .pc files is libdir/pkgconfig (which I think is ${PREFIX}/lib/pkgconfig) > > and some ports (e.g. openssl, omniORB) install their .pc files > > in this directory, but pkg-config searches them in libdata/pkgconfig. > > > > >Fix: > > Dirty hack based on existing patches for pkgconfig. Added LLIBPKGLIBDIR > > to Makefile.in and scan_dir (LLIBPKGLIBDIR, (void *)1); to pkg.c > >> end of "ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig" from Konstantin Oznobihin << > > Is this really the Right Thing to do? I'd be more inclined to want to > see openssl and omniORB trained to install their .pc files in the > proper location. > > # Adam As I understand, $(prefix)/lib is the original path for pkgconfig, so they already install .pc files in the proper location. Besides I think it is better (and much more easier) to make changes in one place instead of searching and changing all ports that install .pc in lib/pkgconfig. -- Konstantin Oznobihin Systems programmer and administrator Computer Center of Rostov State University.