This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Properly setting the pkcconfig directory (was: Moving the pkgconfigdirectory from lib/ to libdata/?)
On Sun, 15 May 2005, Ralf Corsepius wrote:
>> So I guess I should rephrase $SUBJECT as: How can we properly set the
>> pkgconfig directory to $(prefix)/libdata/ for FreeBSD and potentially
>> others?
> Using $(prefix)/libdata without any doubt would be wrong.
By "potentially others" I was referring to other BSDs, for example; not
all systems in general.
>> Any chance for someone with auto* skills to hack this up?
> There is no real need to do so.
>
> make pkgdatadir=<prefix>/libdata install
>
> already should do the job.
This is fine to use, but 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.
Gerald