diff options
Diffstat (limited to 'japanese/nethack/files/patch-ae')
-rw-r--r-- | japanese/nethack/files/patch-ae | 121 |
1 files changed, 52 insertions, 69 deletions
diff --git a/japanese/nethack/files/patch-ae b/japanese/nethack/files/patch-ae index a8a120c506c..1b495ca33ae 100644 --- a/japanese/nethack/files/patch-ae +++ b/japanese/nethack/files/patch-ae @@ -1,69 +1,52 @@ -*** sys/unix/Makefile.src.orig Thu Aug 29 23:52:47 1996 ---- sys/unix/Makefile.src Fri Aug 30 00:36:19 1996 -*************** -*** 126,133 **** - # flags for debugging: - # CFLAGS = -g -I../include - -! CFLAGS = -g -I../include -! LFLAGS = -g - - - # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired ---- 126,133 ---- - # flags for debugging: - # CFLAGS = -g -I../include - -! CFLAGS += -O -I../include -I${X11BASE}/include -! LFLAGS = -L${X11BASE}/lib - - - # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired -*************** -*** 148,155 **** - winmisc.o winstat.o wintext.o winval.o tile.o - # - # -! WINSRC = $(WINTTYSRC) -! WINOBJ = $(WINTTYOBJ) - - # on some systems the termcap library is in -ltermcap or -lcurses - # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead ---- 148,155 ---- - winmisc.o winstat.o wintext.o winval.o tile.o - # - # -! WINSRC = $(WINTTYSRC) $(WINX11SRC) -! WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) - - # on some systems the termcap library is in -ltermcap or -lcurses - # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead -*************** -*** 167,179 **** - # - # libraries for X11 - # If USE_XPM is defined in config.h, you will also need -lXpm here. -! WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 - # WINX11LIB = -lXaw -lXmu -lXt -lX11 - # WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm - # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0 - # - # -! WINLIB = $(WINTTYLIB) - - # any other strange libraries your system needs (for Sysunix only -- the more - # specialized targets should already be right) ---- 167,179 ---- - # - # libraries for X11 - # If USE_XPM is defined in config.h, you will also need -lXpm here. -! WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm - # WINX11LIB = -lXaw -lXmu -lXt -lX11 - # WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm - # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0 - # - # -! WINLIB = $(WINTTYLIB) $(WINX11LIB) - - # any other strange libraries your system needs (for Sysunix only -- the more - # specialized targets should already be right) +diff -ruN ./sys/unix/Makefile.src ../nethack-3.2.2/sys/unix/Makefile.src +--- ./sys/unix/Makefile.src Sun Nov 22 00:50:19 1998 ++++ ../nethack-3.2.2/sys/unix/Makefile.src Sun Nov 22 00:52:12 1998 +@@ -127,8 +127,8 @@ + # flags for debugging: + # CFLAGS = -g -I../include + +-CFLAGS = -g -I../include +-LFLAGS = -g ++CFLAGS += -O -I../include -I${X11BASE}/include ++LFLAGS = -L${X11BASE}/lib + + + # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired +@@ -149,8 +149,8 @@ + winmisc.o winstat.o wintext.o winval.o tile.o + # + # +-WINSRC = $(WINTTYSRC) +-WINOBJ = $(WINTTYOBJ) ++WINSRC = $(WINTTYSRC) $(WINX11SRC) ++WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) + + # on some systems the termcap library is in -ltermcap or -lcurses + # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead +@@ -170,13 +170,14 @@ + # + # libraries for X11 + # If USE_XPM is defined in config.h, you will also need -lXpm here. +-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 ++# WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 + # WINX11LIB = -lXaw -lXmu -lXt -lX11 + # WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm +-# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0 ++# BSD/OS 2.0 / FreeBSD 2.2/3.0 ++WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm + # + # +-WINLIB = $(WINTTYLIB) ++WINLIB = $(WINTTYLIB) $(WINX11LIB) + + # any other strange libraries your system needs (for Sysunix only -- the more + # specialized targets should already be right) +@@ -204,7 +205,7 @@ + # + # LIBS = -lxpg4 + # +-LIBS = ++LIBS = -lxpg4 + + # make NetHack + #JP by issei(96/5/27) |