summaryrefslogtreecommitdiff
path: root/converters/skf/patches
diff options
context:
space:
mode:
authorobache <obache>2006-09-01 14:04:41 +0000
committerobache <obache>2006-09-01 14:04:41 +0000
commit7fc05b701afd7dbaea046cd6d0e202abe548fab0 (patch)
treebaf9909a140bcdc46149dad16c610f6622d33486 /converters/skf/patches
parenta9d01ab1245298e53dd2386f75e1e0911b743d9b (diff)
downloadpkgsrc-7fc05b701afd7dbaea046cd6d0e202abe548fab0.tar.gz
Enable locale feature.
Diffstat (limited to 'converters/skf/patches')
-rw-r--r--converters/skf/patches/patch-aa39
1 files changed, 35 insertions, 4 deletions
diff --git a/converters/skf/patches/patch-aa b/converters/skf/patches/patch-aa
index 400d9d9d779..150b22ca1d4 100644
--- a/converters/skf/patches/patch-aa
+++ b/converters/skf/patches/patch-aa
@@ -1,16 +1,47 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/01/31 03:35:25 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2006/09/01 14:04:41 obache Exp $
--- Makefile.in.orig 2005-12-11 19:16:14.000000000 +0900
+++ Makefile.in
-@@ -47,7 +47,7 @@ DOCDIR = $(datadir)/doc/@PACKAGE@
+@@ -36,6 +36,7 @@ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+ LSKFDIR = @lskfdir@
++localedir = @localedir@
+
+ DESTDIR =
+
+@@ -47,9 +48,9 @@ DOCDIR = $(datadir)/doc/@PACKAGE@
LSFMANDIR = $(datadir)/man
MANCJDIR = $(LSFMANDIR)/ja
MANDIR = $(mandir)/man1
-JMANDIR = $(mandir)/ja/man1
+-LOCALEDIR = @localedir@
+-LOCALEJDIR = @localedir@/ja/LC_MESSAGES
+JMANDIR = $(mandir)/ja_JP.EUC/man1
- LOCALEDIR = @localedir@
- LOCALEJDIR = @localedir@/ja/LC_MESSAGES
++LOCALEDIR = $(localedir)
++LOCALEJDIR = $(localedir)/ja/LC_MESSAGES
#GETTEXT_LIB = -lintl
+
+ #
+@@ -95,8 +96,7 @@ CC = @CC@
+ #SUBDIRS = perlxs
+ SUBDIRS =
+
+-#CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\"
+-CPPFLAGS =
++CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\"
+ mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
+ CONFIG_HEADER = config.h
+ CONFIG_CLEAN_FILES =
+@@ -105,7 +105,7 @@ CONFIG_CLEAN_FILES =
+ # To enable this feature, you must have GNU gettext. It does not
+ # work with catgets. To enable locale, you must define HAVE_GETENV,
+ # too. Under WIN32 environemt, DEF6 is automatically disabled.
+-#DEF6 = -DUSE_LOCALE
++DEF6 = -DUSE_LOCALE
+
+ # Some Hacks. Will be fixed in later release, hopefully.
+ DEF8 = -DUSE_UBUF
@@ -166,7 +166,7 @@ DEP_FILES = .deps/skf.P
#
# commands