ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig

Konstantin Oznobihin bork at rsu.ru
Thu Jul 15 08:50:31 PDT 2004


The following reply was made to PR ports/69093; it has been noted by GNATS.

From: Konstantin Oznobihin <bork at rsu.ru>
To: Adam Weinberger <adamw at FreeBSD.org>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/69093: [patch] devel/pkgconfig does not search for .pc
	files in libdir/pkgconfig
Date: Thu, 15 Jul 2004 19:43:56 +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.
 
 I do not argue with that and completly agree that libdata is a better
 location. But this particular issue concerns third party software and I
 am not sure that it is always a good decision to force that software to
 entirely meet FreeBSD requirements.
 
 > 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.
 
 Thank you, I was no aware of this feature, but unfortunately it does not
 help openssl to put files in a proper location.
 
 -- 
 Konstantin Oznobihin <bork at rsu.ru>
 Systems programmer and administrator
 Computer Center of Rostov State University.
 


More information about the freebsd-gnome mailing list