freebsd-dev/usr.sbin/cpucontrol
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
..
amd10h.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
amd.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
amd.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
cpucontrol.8 Make it possible to re-evaluate cpu_features. 2018-01-05 21:06:19 +00:00
cpucontrol.c Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
cpucontrol.h cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
intel.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
intel.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Add support for microcode update on newer AMD CPUs (10h+) 2016-11-02 16:15:49 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
via.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
via.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00