This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Properly setting the pkcconfig directory (was: Moving thepkgconfig directory from lib/ to libdata/?)
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Roman Kennke <roman at kennke dot org>, Daniel Jacobowitz <drow at false dot org>, java at gcc dot gnu dot org, GCC List <gcc at gcc dot gnu dot org>
- Date: Mon, 31 Oct 2005 00:43:28 +0100 (CET)
- Subject: Re: Properly setting the pkcconfig directory (was: Moving thepkgconfig directory from lib/ to libdata/?)
- References: <Pine.BSF.4.62.0505112214570.39324@acrux.dbai.tuwien.ac.at><20050511202040.GA4855@nevyn.them.org> <1115843791.7443.0.camel@localhost.localdomain><Pine.BSF.4.62.0505112238330.39324@acrux.dbai.tuwien.ac.at><1116135039.8237.595.camel@mccallum.corsepiu.local><Pine.BSF.4.62.0505152324000.33827@acrux.dbai.tuwien.ac.at><m364riqy0n.fsf@localhost.localdomain>
On Fri, 27 Oct 2005, Tom Tromey wrote:
>> our configure/build system really should be clever enough to
>> automatically set pkgdatadir to the correct value in the first
>> place: $(prefix)/libdata/pkgconfig on FreeBSD, and $(libdir)/pkgconfig
>> elsewhere.
> Are there other places where we try to auto-detect install directory
> names? I don't know of any.
Strictly speaking $PREFIX/lib/gcc/$TARGET/ could qualify ;-), but in
the sense you probably have in mind, I'm not aware of any example.
> It would be simple to add something like --with-pkgdatadir to
> configure. It sounds like you are talking about a build for a distro;
> requiring a configure option for that doesn't sound like a big deal
> (as presumably you already need --prefix=/usr among other things).
In principle it affects everyone build GCC on FreeBSD (and perhaps
other BSDs), but indeed the use case I'm having is the FreeBSD Ports
Collection which is basically a distro build.
Having such a configure option definitely would help!
Thanks,
Gerald