freebsd-ports/games/xshisen/files/patch-aa
Norikatsu Shigemura 6c9f63d856 1. This port haven't be corresponded to locale name for Japanese EUC
environment ja_JP.EUC -> ja_JP.eucJP.
   This patch installs X resource file into ja_JP.eucJP/app-defaults
   instead of ja_JP.EUC/app-defaults, and then if ja_JP.EUC directory
   is exist, it will make a symlink from ja_JP.EUC/app-defaults to
   ja_JP.eucJP/app-defaults

2. This port execute xshisen, a X11 program, to convert KANJI code and
   VERSION string in resource files, and failed with 'Could not open
   display' error.  This patch replace it with japanese/nkf to convert
   KANJI code (sorry for non-japanese people).

3. -lxpg4 is obsoleted and not required for newer environment.

PR:		ports/45643
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
Approved by:	maintainer timeout (2 months)
2002-11-23 14:56:18 +00:00

11 lines
403 B
Text

--- configure.orig Tue Feb 27 21:29:29 1996
+++ configure Sun Oct 10 17:49:35 1999
@@ -1593,7 +1593,7 @@
CPPFLAGS="${CPPFLAGS} -DLIB_DIR=\\\"\$(XSHISENLIB)\\\""
for i in ${mandir} /usr/share/man /usr/man /usr/local/man; do
- for j in japanese japan ja ja_JP ja_JP.eucJP ja_JP.SJIS; do
+ for j in a_JP.EUC ja_JP.SJIS ja_JP.JIS7; do
if [ -d "$i/$j" ]; then
JAPANESE="$j"
break 2;