freebsd-nq/lib/libc/nls
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
..
be_BY.UTF-8.msg
C.msg
ca_ES.ISO8859-1.msg
catclose.3
catgets.3
catopen.3
de_DE.ISO8859-1.msg
el_GR.ISO8859-7.msg
es_ES.ISO8859-1.msg
fi_FI.ISO8859-1.msg
fr_FR.ISO8859-1.msg
gl_ES.ISO8859-1.msg
hu_HU.ISO8859-2.msg
it_IT.ISO8859-15.msg
ja_JP.eucJP.msg
ja_JP.UTF-8.msg
ko_KR.eucKR.msg
ko_KR.UTF-8.msg
Makefile.inc
mn_MN.UTF-8.msg
msgcat.c Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
nl_NL.ISO8859-1.msg
no_NO.ISO8859-1.msg
pl_PL.ISO8859-2.msg
pt_BR.ISO8859-1.msg
ru_RU.KOI8-R.msg
sk_SK.ISO8859-2.msg
sv_SE.ISO8859-1.msg
Symbol.map
uk_UA.UTF-8.msg
zh_CN.GB2312.msg
zh_CN.GB18030.msg
zh_CN.UTF-8.msg