summaryrefslogtreecommitdiff
path: root/converters/skf/patches/patch-aa
blob: 150b22ca1d4efb7a5128a2b10bd95eb2ed4deeba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
$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
@@ -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
 #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
 #
-MSGFMT		= /usr/bin/msgfmt
+MSGFMT		= @MSGFMT@
 #SED		= ${SKFSED}
 SED		= @SKFSED@
 MKDIR           = mkdir