See patch.
>From 6dc2b168d18080e924334933fda9999e17574abe Mon Sep 17 00:00:00 2001
From: Pascal Stumpf <pascal.stu...@cubes.de>
Date: Sun, 19 Aug 2012 19:35:38 +0200
Subject: [PATCH] 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.
---
cde/config/cf/OpenBSD.cf | 4 ----
cde/config/cf/site.def | 2 +-
cde/programs/localized/templates/header2.tmpl | 2 ++
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/cde/config/cf/OpenBSD.cf b/cde/config/cf/OpenBSD.cf
index dab1cec..163c40b 100644
--- a/cde/config/cf/OpenBSD.cf
+++ b/cde/config/cf/OpenBSD.cf
@@ -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
diff --git a/cde/config/cf/site.def b/cde/config/cf/site.def
index e18d4af..1c7643b 100644
--- a/cde/config/cf/site.def
+++ b/cde/config/cf/site.def
@@ -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
diff --git a/cde/programs/localized/templates/header2.tmpl
b/cde/programs/localized/templates/header2.tmpl
index 753f11b..a7d3019 100644
--- a/cde/programs/localized/templates/header2.tmpl
+++ b/cde/programs/localized/templates/header2.tmpl
@@ -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; \ @@\
--
1.7.6
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel