summaryrefslogtreecommitdiff
path: root/games/nethack-qt/patches/patch-ac
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>1999-12-24 22:29:58 +0000
committerpooka <pooka@pkgsrc.org>1999-12-24 22:29:58 +0000
commitc3b8ad7ebcd63465936cc29d74a1b1bad873f2ad (patch)
treeff3d7ba097bd9ecf05d8fa4fcc4f0fed8582c8f2 /games/nethack-qt/patches/patch-ac
parentf7c7e1c7ff8ea3b7e389b455124c4d8d00ec43bb (diff)
downloadpkgsrc-c3b8ad7ebcd63465936cc29d74a1b1bad873f2ad.tar.gz
Update the Nethack package to 3.3.0. nethack-qt will be non-functional
until we get qt2.0 or greater into pkgsrc.
Diffstat (limited to 'games/nethack-qt/patches/patch-ac')
-rw-r--r--games/nethack-qt/patches/patch-ac43
1 files changed, 43 insertions, 0 deletions
diff --git a/games/nethack-qt/patches/patch-ac b/games/nethack-qt/patches/patch-ac
new file mode 100644
index 00000000000..236e37a3766
--- /dev/null
+++ b/games/nethack-qt/patches/patch-ac
@@ -0,0 +1,43 @@
+$NetBSD: patch-ac,v 1.1 1999/12/24 22:30:03 pooka Exp $
+
+--- sys/unix/Makefile.src.orig Sat Dec 11 07:21:05 1999
++++ sys/unix/Makefile.src Wed Dec 22 22:29:15 1999
+@@ -132,8 +132,8 @@
+ # flags for debugging:
+ # CFLAGS = -g -I../include
+
+-CFLAGS = -O -I../include
+-LFLAGS =
++CFLAGS = -O -I../include -I${X11BASE}/include
++LFLAGS = -Wl,-R${X11BASE}/lib -L${X11BASE}
+
+ # Only used for Qt interface (other interfaces are standard C)
+ CXXFLAGS = -g $(CFLAGS) -I. -I$(QTDIR)/include
+@@ -165,8 +165,8 @@
+
+ #
+ #
+-WINSRC = $(WINTTYSRC)
+-WINOBJ = $(WINTTYOBJ)
++WINSRC = $(WINQTSRC)
++WINOBJ = $(WINQTOBJ)
+
+ # on some systems the termcap library is in -ltermcap or -lcurses
+ # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
+@@ -192,14 +192,14 @@
+ # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
+ #
+ # libraries for Qt
+-WINQTLIB = -L$(QTDIR)/lib -lqt
++WINQTLIB = -L$(QTDIR)/lib -lqt -lXpm
+ #
+ # libraries for KDE (with Qt)
+ WINKDELIB = -lkdecore -lkdeui -lXext
+ #
+ #
+
+-WINLIB = $(WINTTYLIB)
++WINLIB = $(WINQTLIB)
+
+ # any other strange libraries your system needs (for Sysunix only -- the more
+ # specialized targets should already be right)