diff options
author | drochner <drochner> | 2000-04-28 10:11:02 +0000 |
---|---|---|
committer | drochner <drochner> | 2000-04-28 10:11:02 +0000 |
commit | d3455cc0597c5ecca49b894c70dd0b35ab8a27ad (patch) | |
tree | 2cc656a1a13a1463b1a4e84840ddbbe6977af244 /games/nethack-qt/patches | |
parent | 272fe0ac7f739fd7c9e8c16be7f6a7fe4143a3c4 (diff) | |
download | pkgsrc-d3455cc0597c5ecca49b894c70dd0b35ab8a27ad.tar.gz |
update for new qt2 layout
Diffstat (limited to 'games/nethack-qt/patches')
-rw-r--r-- | games/nethack-qt/patches/patch-ac | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/games/nethack-qt/patches/patch-ac b/games/nethack-qt/patches/patch-ac index 72a24054b73..ad9fdc80fd4 100644 --- a/games/nethack-qt/patches/patch-ac +++ b/games/nethack-qt/patches/patch-ac @@ -1,8 +1,9 @@ -$NetBSD: patch-ac,v 1.4 2000/04/14 21:13:58 dmcmahill Exp $ +$NetBSD: patch-ac,v 1.5 2000/04/28 10:12:44 drochner Exp $ ---- sys/unix/Makefile.src.orig Sat Dec 11 00:21:05 1999 -+++ sys/unix/Makefile.src Thu Apr 6 11:54:15 2000 -@@ -133,9 +133,9 @@ +--- sys/unix/Makefile.src.orig Sat Dec 11 06:21:05 1999 ++++ sys/unix/Makefile.src Fri Apr 28 11:50:01 2000 +@@ -132,8 +132,8 @@ + # flags for debugging: # CFLAGS = -g -I../include -CFLAGS = -O -I../include @@ -11,11 +12,9 @@ $NetBSD: patch-ac,v 1.4 2000/04/14 21:13:58 dmcmahill Exp $ +LFLAGS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib # Only used for Qt interface (other interfaces are standard C) --CXXFLAGS = -g $(CFLAGS) -I. -I$(QTDIR)/include -+CXXFLAGS = -g $(CFLAGS) -I. -I$(QTDIR)/include/qt2 - # Qt is C++, so define the compiler and linker thus required: - #CXX=g++ -@@ -166,6 +166,6 @@ + CXXFLAGS = -g $(CFLAGS) -I. -I$(QTDIR)/include +@@ -165,8 +165,8 @@ + # # -WINSRC = $(WINTTYSRC) @@ -24,17 +23,21 @@ $NetBSD: patch-ac,v 1.4 2000/04/14 21:13:58 dmcmahill Exp $ +WINOBJ = $(WINQTOBJ) # on some systems the termcap library is in -ltermcap or -lcurses -@@ -193,5 +193,5 @@ + # 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 = -Wl,-R$(QTDIR)/lib/qt2 -L$(QTDIR)/lib/qt2 -lqt -lXpm -lX11 -lICE -lSM -lz -lpng -lXext ++WINQTLIB = -Wl,-R$(QTDIR)/lib -L$(QTDIR)/lib -lqt -lXpm -lX11 -lICE -lSM -lz -lpng -lXext # # libraries for KDE (with Qt) -@@ -200,5 +200,5 @@ + 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) |