From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 15 15:30:23 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 58A0D16A4D9 for ; Thu, 15 Jul 2004 15:30:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC0EB43D5A for ; Thu, 15 Jul 2004 15:30:22 +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 i6FFUMgX067379 for ; Thu, 15 Jul 2004 15:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6FFUMLY067378; Thu, 15 Jul 2004 15:30:22 GMT (envelope-from gnats) Date: Thu, 15 Jul 2004 15:30:22 GMT Message-Id: <200407151530.i6FFUMLY067378@freefall.freebsd.org> To: gnome@FreeBSD.org From: Adam Weinberger 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: Adam Weinberger 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:30:23 -0000 The following reply was made to PR ports/69093; it has been noted by GNATS. From: Adam Weinberger To: Konstantin Oznobihin 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 11:20:49 -0400 >> (07.15.2004 @ 1051 PST): Konstantin Oznobihin said, in 1.2K: << > 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. >> end of "Re: ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig" from Konstantin Oznobihin << I disagree. /usr/lib is the default place according to Linux dogma. FreeBSD makes a concerted effort to place things in the best location possible, and I fully agree that ${PREFIX}/libdata is the best place for pkgconfig files. ${PREFIX}/lib is for libraries; ${PREFIX}/libdata is then for data about those libraries. gdm2, for example, installs its configgeration files into /usr/X11R6/etc. It was trained to look for its configuration files there, instead of patching the install to copy stuff into /usr/X11R6/etc as well as /etc. It certainly is easier to train pkgconfig to look in its default place. However, the "gnomehack" component of USED_GNOME tells configure scripts where to find pkgconfig files. USE_GNOME=gnomehack should be used in ports that install pkgconfig files into the location that is wrong for FreeBSD. That's my take on the matter, anyway. # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx