mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Fix localized build on OpenBSD.
Use the same set of langs as on Linux and FreeBSD (no Japanese), don't redefine a needed macro as no-op, and unset LC_CTYPE in the environment when building cat files.
This commit is contained in:
parent
240c89cf6b
commit
7ee2f3e80d
3 changed files with 3 additions and 5 deletions
|
@ -1024,10 +1024,6 @@ install:: fonts.alias @@\
|
|||
|
||||
#define BuildLibPathVar LD_LIBRARY_PATH
|
||||
|
||||
#ifndef RandomMotifMessageCatalogRule
|
||||
#define RandomMotifMessageCatalogRule(target)
|
||||
#endif
|
||||
|
||||
#ifndef KornShell
|
||||
#define KornShell /usr/local/bin/ksh93
|
||||
#endif
|
||||
|
|
|
@ -90,7 +90,7 @@ XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
|
|||
|
||||
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.
|
||||
#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture)
|
||||
#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
|
||||
# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
|
||||
#endif
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@ target.cat : target.msg @@\
|
|||
@echo "Running mkcatdefs for $@ with LANG set to $(LANG)" @@\
|
||||
( \ @@\
|
||||
rm -f $@ target.tmp.msg; \ @@\
|
||||
LC_CTYPE=""; \ @@\
|
||||
export LC_CTYPE; \ @@\
|
||||
LANG=$(LANG); \ @@\
|
||||
export LANG; \ @@\
|
||||
$(MKCATTOOL) $(@:.cat=) $(@:.cat=.msg) -h > target.tmp.msg; \ @@\
|
||||
|
|
Loading…
Reference in a new issue