summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-09-01 14:04:41 +0000
committerobache <obache@pkgsrc.org>2006-09-01 14:04:41 +0000
commit8437c34692298320a34632b69b3da527680441d3 (patch)
treebaf9909a140bcdc46149dad16c610f6622d33486 /converters
parentb4eb2fc1db42c412d44074c8126129ae3628abeb (diff)
downloadpkgsrc-8437c34692298320a34632b69b3da527680441d3.tar.gz
Enable locale feature.
Diffstat (limited to 'converters')
-rw-r--r--converters/skf/distinfo4
-rw-r--r--converters/skf/patches/patch-aa39
2 files changed, 37 insertions, 6 deletions
diff --git a/converters/skf/distinfo b/converters/skf/distinfo
index bb0436386e8..a529604ebff 100644
--- a/converters/skf/distinfo
+++ b/converters/skf/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/08/24 15:45:05 taca Exp $
+$NetBSD: distinfo,v 1.4 2006/09/01 14:04:41 obache Exp $
SHA1 (skf_1.93.11.tar.gz) = 08fe08a3f4c7e8ed516a28c37108d2d5fc318358
RMD160 (skf_1.93.11.tar.gz) = a79bd08692dbeb2f69a1611bf7e6297c27110296
Size (skf_1.93.11.tar.gz) = 616346 bytes
-SHA1 (patch-aa) = 5687814bd2b306a4807ee0cafd45b650bec8a2ef
+SHA1 (patch-aa) = 812fd478ae0588c2dd80c03c789c0ee512aadcc0
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