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:
Pascal Stumpf
2012-08-19 19:35:38 +02:00
committed by Jon Trulson
parent 240c89cf6b
commit 7ee2f3e80d
3 changed files with 3 additions and 5 deletions

View File

@@ -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; \ @@\