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
..
2020-02-19 12:49:49 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-08-11 13:23:09 +00:00
2020-05-21 01:55:35 +00:00
2020-09-17 18:06:57 +00:00
2020-05-01 01:31:19 +00:00
2020-07-08 03:57:47 +00:00
2020-06-22 07:46:24 +00:00
2020-10-09 19:12:44 +00:00
2020-09-15 17:13:29 +00:00
2020-10-09 14:03:45 +00:00
2020-09-24 19:12:03 +00:00
2019-12-04 16:56:11 +00:00
2019-02-04 21:28:25 +00:00
2020-10-09 14:03:45 +00:00
2020-08-25 02:21:27 +00:00
2020-04-10 23:10:28 +00:00
2020-10-09 14:03:45 +00:00
2018-05-28 09:41:44 +00:00
2017-12-28 05:34:04 +00:00
2019-05-04 02:09:30 +00:00
2020-10-09 19:12:44 +00:00
2018-10-22 02:34:10 +00:00
2020-06-16 19:21:28 +00:00
2018-05-19 20:57:22 +00:00
2020-10-09 14:03:45 +00:00
2020-08-17 10:25:02 +00:00
2020-09-01 15:52:18 +00:00
2020-10-09 14:03:45 +00:00
2020-09-09 00:39:47 +00:00
2018-06-17 17:31:16 +00:00
2020-04-06 23:16:05 +00:00
2020-04-06 23:16:05 +00:00
2020-04-06 23:16:05 +00:00
2019-12-11 17:37:53 +00:00
2020-06-24 02:08:08 +00:00
2019-03-05 02:53:41 +00:00
2020-02-19 12:49:49 +00:00
2020-06-23 10:56:15 +00:00
2020-08-21 09:48:00 +00:00
2019-04-22 17:52:46 +00:00
2020-03-23 14:44:23 +00:00
2019-12-11 17:37:53 +00:00
2020-08-24 18:17:13 +00:00
2020-03-31 16:47:15 +00:00
2019-11-21 01:24:49 +00:00
2020-09-11 13:28:37 +00:00
2020-04-06 23:16:05 +00:00
2020-10-09 19:12:44 +00:00
2020-07-14 05:33:23 +00:00
2019-05-24 05:34:21 +00:00
2019-05-24 05:34:21 +00:00
2018-07-24 20:20:17 +00:00