summaryrefslogtreecommitdiff
path: root/games/nethack-x11/patches/patch-ab
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-08-27 13:15:01 +0000
committergarbled <garbled@pkgsrc.org>1998-08-27 13:15:01 +0000
commit0b15f6e7a95e2d3dfdbfecdfa45e9e91117a1ca0 (patch)
treeefac5553d1e761ceeb82f8e391043b9e26908730 /games/nethack-x11/patches/patch-ab
parent3bd622ede3abb53a9ef77eb75398746c82deb1ad (diff)
downloadpkgsrc-0b15f6e7a95e2d3dfdbfecdfa45e9e91117a1ca0.tar.gz
nethack-x11: the X11 version of NetHack
Diffstat (limited to 'games/nethack-x11/patches/patch-ab')
-rw-r--r--games/nethack-x11/patches/patch-ab27
1 files changed, 27 insertions, 0 deletions
diff --git a/games/nethack-x11/patches/patch-ab b/games/nethack-x11/patches/patch-ab
new file mode 100644
index 00000000000..fc88bdf69fc
--- /dev/null
+++ b/games/nethack-x11/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1 1998/08/27 13:15:02 garbled Exp $
+--- src/Makefile.orig Sat Aug 8 01:56:47 1998
++++ src/Makefile Sat Aug 8 02:00:19 1998
+@@ -126,4 +126,4 @@
+
+-CFLAGS = -O -I../include
+-LFLAGS =
++CFLAGS = -O -I../include -I$(X11BASE)/include
++LFLAGS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib
+
+@@ -148,4 +148,4 @@
+ #
+-WINSRC = $(WINTTYSRC)
+-WINOBJ = $(WINTTYOBJ)
++WINSRC = $(WINX11SRC)
++WINOBJ = $(WINX11OBJ)
+
+@@ -169,3 +169,3 @@
+ # 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 -lXpm
+ # WINX11LIB = -lXaw -lXmu -lXt -lX11
+@@ -175,3 +175,3 @@
+ #
+-WINLIB = $(WINTTYLIB)
++WINLIB = $(WINX11LIB)
+