Here are a few changes to the installation layout for your approval.
The *.sample files and the initdb input files (BKI) should go into
PREFIX/share, not lib. Since only initdb has to know about this there
should be no problems. As for finding these files, the easiest and safest
method would be to substitute this path into initdb at build time.
Override with -L is of course possible. (The "lib" mnemonic would be gone,
think of it as "location".)
As a point of reference, the NetBSD pkgsrc package for postgresql
already puts the following in /usr/pkg/share/postgresql:
In response to
pgsql-hackers by date
|Next:||From: Peter Eisentraut||Date: 2000-06-30 16:22:50|
|Subject: Re: finding lib/include dirs|
|Previous:||From: Brook Milligan||Date: 2000-06-30 15:17:27|
|Subject: Re: Changes to handling version numbers internally|