Open
Description
configure.ac contains these "hacks":
dnl Some hacks...
test "$prefix" = "NONE" && prefix="/usr"
test "$prefix" = "/usr" && exec_prefix=""
At least the last of the three lines should IMO go away. src/Makefile.am has these lines:
ubindir = ${prefix}/bin
usbindir = ${prefix}/sbin
...
# XXX why are login and su in /bin anyway (other than for
# historical reasons)?
#
# if the system is screwed so badly that it can't mount /usr,
# you can (hopefully) boot single user, and then you're root
# so you don't need these programs for recovery.
#
# also /lib/libshadow.so.x.xx (if any) could be moved to /usr/lib
# and installation would be much simpler (just two directories,
# $prefix/bin and $prefix/sbin, no install-data hacks...)
bin_PROGRAMS = login
sbin_PROGRAMS = nologin
ubin_PROGRAMS = faillog chage chfn chsh expiry gpasswd newgrp passwd
...
I agree with the comment. IMO all of this (exec_)prefix trickery should go away.
Metadata
Metadata
Assignees
Labels
No labels