From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 15 16:10:37 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 4680E16A4D0 for ; Thu, 15 Jul 2004 16:10:37 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E9F543D39 for ; Thu, 15 Jul 2004 16:10:37 +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 i6FGAbnb073580 for ; Thu, 15 Jul 2004 16:10:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6FGAbra073579; Thu, 15 Jul 2004 16:10:37 GMT (envelope-from gnats) Date: Thu, 15 Jul 2004 16:10:37 GMT Message-Id: <200407151610.i6FGAbra073579@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 16:10:37 -0000 The following reply was made to PR ports/69093; it has been noted by GNATS. From: Konstantin Oznobihin To: pav@FreeBSD.org 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 19:59:00 +0400 > V čt, 15. 07. 2004 v 17:09, Konstantin Oznobihin píše: > > > > > Well, it is the /usr/ports/devel/pkgconfig > > > > > > I see. pkg-config is already checking /usr/local/libdata/pkgconfig/*.pc, > > > /usr/X11R6/libdata/pkgconfig/*.pc and ${PREFIX}/libdata/pkgconfig/*.pc > > > > > > If there is some port that installs *.pc files somewhere else, like to > > > ${PREFIX}/lib/pkgconfig, it's the other port what must be fixed, not > > > pkg-config. > > > pkg-config checks libdata/pkgconfig instead of lib/pkgconfig due to > > patches in the current devel/pkgconfig port, only this patches requires > > other ported software (which depends on pkgconfig) to use libdata > > instead of lib. IMHO, it is bug in port of pkgconfig not in other ports. > > Depends on point of view. You call it a bug, we call it a feature. It > was deliberately added to our port of pkgconfig three years ago. It cost > us a lot of effort to keep up with it since. It help pkgconfig to > conform to FreeBSD hierarchy rules, which say "only shared binary files > under lib/, indirectly executed binaries under libexec/, non-executable > stuff under libdata/". I'm not sure we want to drop this feature, taking > the effort we put into it in past. I am definitely not want you to drop this feature. As you can see my patch just adds ${PREFIX}/lib to the existing list of directories. I agree that when it is possible we should make ports conform with FreeBSD rules. Also, I think that looking for things other than shared libraries in lib would not be a big violation of FreeBSD rules, especially if this behavior complies with rules of the paticular software. -- Konstantin Oznobihin Systems programmer and administrator Computer Center of Rostov State University.