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:
committed by
Jon Trulson
parent
240c89cf6b
commit
7ee2f3e80d
@@ -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; \ @@\
|
||||
|
||||
Reference in New Issue
Block a user