1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/www/w3m/files/patch-aa

67 lines
1.6 KiB
Plaintext
Raw Normal View History

--- 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/w3m
-HELP_FILE = w3mhelp_ja.html
-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
+#CC = gcc
+#MYCFLAGS = -g -I./gc
KEYBIND_SRC = keybind.c
KEYBIND_OBJ = keybind.o
EXT=
-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
+#else
+#define LANG EN
+#endif
#define COLOR
-#undef MOUSE
+#define MOUSE
#define MENU
-#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 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 "%%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"