Properly setting the pkcconfig directory (was: Moving the pkgconfig directory from lib/ to libdata/?)
Gerald Pfeifer
gerald@pfeifer.com
Mon May 16 02:08:00 GMT 2005
On 2005年5月15日, 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
More information about the Java
mailing list