On 2/19/21 5:14 AM, Karel Zak wrote:
On Thu, Feb 18, 2021 at 09:37:21AM -0600, Bruce Dubbs wrote:
Perhaps another solution would be to make the default for localstatedir be
/var instead of PREFIX/var.
Ah, I see what do you mean.
We do not alter $localstatedir in the configure script at all. This is is
probably the problem you see. For the other directories we default to /bin,
/lib, ... when the default prefix (NONE or /usr) detected.
It seems $localstatedir and $sysconfdir need our care too.
I have committed:
https://github.com/karelzak/util-linux/commit/3d2899651791bcb4ee8fe4e605acc83f3ae3471b
Please, try it. The final summary from ./configure should be also
more verbose about the paths now.
Thanks Karel. Works for us.
-- Bruce