From: Jon Trulson Date: Sun, 24 Jun 2018 18:48:14 +0000 (-0600) Subject: linux/site.def: use an if !defined() gaurd for DtLocalesToBuild X-Git-Tag: 2.3.0~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aaa93056535175b43ef859f6b53ac4db1264aae4;p=oweals%2Fcde.git linux/site.def: use an if !defined() gaurd for DtLocalesToBuild Without this, you cannot use the command line to select the languages to build, you would have to edit site.def directly. With this fix, you can build a language on linux with something like: make World IMAKE_DEFINES='-DDtLocalesToBuild="de_DE.ISO8859-1 es_ES.ISO8859-1"' to build the DE (German) and es (Spanish) locales. --- diff --git a/cde/config/cf/site.def b/cde/config/cf/site.def index 785d2594..3b8bb82f 100644 --- a/cde/config/cf/site.def +++ b/cde/config/cf/site.def @@ -126,7 +126,9 @@ XCOMM or building non-C locales will cause build failures. XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales. XCOMM or building non-C locales will cause build failures. XCOMM DtLocalesToBuild: de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8 -# define DtLocalesToBuild en_US.UTF-8 +# if !defined(DtLocalesToBuild) +# define DtLocalesToBuild en_US.UTF-8 +# endif # define UTF8_NLS_SUPPORT #endif