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

Reply via email to