freebsd-skq/usr.bin/mail
Stefan Eßer 1f474190fc Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE
Literal references to /usr/local exist in a large number of files in
the FreeBSD base system. Many are in contributed software, in configuration
files, or in the documentation, but 19 uses have been identified in C
source files or headers outside the contrib and sys/contrib directories.

This commit makes it possible to set _PATH_LOCALBASE in paths.h to use
a different prefix for locally installed software.

In order to avoid changes to openssh source files, LOCALBASE is passed to
the build via Makefiles under src/secure. While _PATH_LOCALBASE could have
been used here, there is precedent in the construction of the path used to
a xauth program which depends on the LOCALBASE value passed on the compiler
command line to select a non-default directory.

This could be changed in a later commit to make the openssh build
consistently use _PATH_LOCALBASE. It is considered out-of-scope for this
commit.

Reviewed by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D26942
2020-10-27 11:29:11 +00:00
..
misc
cmd1.c Switch the default pager for most commands to less 2018-08-08 19:24:20 +00:00
cmd2.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
cmd3.c userland: Fix several typos and minor errors 2017-12-27 03:23:01 +00:00
cmdtab.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
collect.c Don't initialize lastlong before assigning it. 2017-12-27 05:59:47 +00:00
def.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
edit.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
extern.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
fio.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
getname.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
glob.h mail/gprof/tip: tap with the ugly stick 2020-04-06 23:28:24 +00:00
head.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lex.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
list.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mail.1 Switch the default pager for most commands to less 2018-08-08 19:24:20 +00:00
main.c mail/gprof/tip: tap with the ugly stick 2020-04-06 23:28:24 +00:00
Makefile Move mail.rc install to usr.bin/mail. 2018-09-18 20:47:06 +00:00
Makefile.depend
names.c Replace send-mail with the more standarized sendmail, we do not create 2017-12-27 06:23:50 +00:00
pathnames.h Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
popen.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
quit.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rcv.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
send.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
strings.c mail/gprof/tip: tap with the ugly stick 2020-04-06 23:28:24 +00:00
temp.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tty.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
util.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
v7.local.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
vars.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
version.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00