From aaa93056535175b43ef859f6b53ac4db1264aae4 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 24 Jun 2018 12:48:14 -0600 Subject: [PATCH] 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. --- cde/config/cf/site.def | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1