summaryrefslogtreecommitdiff
path: root/www/w3m/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/w3m/files/patch-aa')
-rw-r--r--www/w3m/files/patch-aa56
1 files changed, 37 insertions, 19 deletions
diff --git a/www/w3m/files/patch-aa b/www/w3m/files/patch-aa
index 53e6a6347d91..12cb8b493332 100644
--- a/www/w3m/files/patch-aa
+++ b/www/w3m/files/patch-aa
@@ -1,48 +1,66 @@
---- config.h.orig Tue Sep 28 03:58:56 1999
-+++ config.h Mon Oct 11 17:35:48 1999
-@@ -28,13 +28,13 @@
+--- config.h.orig Wed Oct 27 07:04:00 1999
++++ config.h Tue Nov 2 17:14:55 1999
+@@ -28,18 +28,19 @@
/**********************************************************/
#ifdef makefile_parameter
-BIN_DIR = /usr/local/bin
--HELP_DIR = /usr/local/lib
+-HELP_DIR = /usr/local/lib/w3m
-HELP_FILE = w3mhelp_ja.html
--SYS_LIBRARIES = -lbsd -lnsl -ltermcap
+-SYS_LIBRARIES = -lbsd -lnsl -lncurses
+BIN_DIR = %%PREFIX%%/bin
+HELP_DIR = %%PREFIX%%/share/doc/w3m
++HELP_DIR_JA = %%PREFIX%%/share/doc/ja/w3m
+HELP_FILE = w3mhelp_en.html
+SYS_LIBRARIES = -ltermcap
LOCAL_LIBRARIES =
-CC = gcc
--MYCFLAGS = -g -I./gc
+-MYCFLAGS = -g -I./gc
+#CC = gcc
-+MYCFLAGS = -I./gc
++#MYCFLAGS = -g -I./gc
KEYBIND_SRC = keybind.c
KEYBIND_OBJ = keybind.o
EXT=
-@@ -48,15 +48,19 @@
+-GCLIB=gc/gc.a
+-GCTARGET=gc/gc.a
++#GCLIB=gc/gc.a
++#GCTARGET=gc/gc.a
+ #else
+
+
+@@ -47,19 +48,28 @@
+
#define JA 0
#define EN 1
++#undef JAPANESE
++#ifdef JAPANESE
#define LANG JA
--#define KANJI_SYMBOLS
+ #define KANJI_SYMBOLS
++#else
++#define LANG EN
++#endif
#define COLOR
--#define MOUSE
-+#undef MOUSE
+-#undef MOUSE
++#define MOUSE
#define MENU
-+#undef JAPANESE_MSG
-+
-+#ifdef JAPANESE_MSG
-+#define KANJI_SYMBOLS
-+#endif
+-#undef USE_COOKIE
++#define USE_COOKIE
+ #undef USE_SSL
-#define DEF_EDITOR "/bin/vi"
-#define DEF_MAILER "/bin/mail"
-#define DEF_EXT_BROWSER "/usr/bin/lynx"
--#define HELP_FILE "/usr/local/lib/w3mhelp.html"
+-#define LIB_DIR "/usr/local/lib/w3m"
+-#define HELP_FILE "/usr/local/lib/w3m/w3mhelp.html"
+#define DEF_EDITOR "/usr/bin/vi"
+#define DEF_MAILER "/usr/bin/mail"
-+#define DEF_EXT_BROWSER "%%LOCALBASE%%/bin/netscape"
-+#define HELP_FILE "%%LOCALBASE%%/share/doc/w3m/w3mhelp.html"
++#define DEF_EXT_BROWSER "%%PREFIX%%/bin/netscape"
++#define LIB_DIR "%%PREFIX%%/lib/w3m"
++#ifdef JAPANESE
++#define HELP_FILE "%%PREFIX%%/share/doc/ja/w3m/w3mhelp_ja.html"
++#else
++#define HELP_FILE "%%PREFIX%%/share/doc/w3m/w3mhelp_en.html"
++#endif
#define BOOKMARK "~/.w3m/bookmark.html"
#define KEYMAP_FILE "~/.w3m/keymap"
#define MENU_FILE "~/.w3m/menu"