summaryrefslogtreecommitdiff
path: root/games/quake/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-05 05:53:35 +0000
committerjlam <jlam@pkgsrc.org>2000-10-05 05:53:35 +0000
commite99e7432bfb55c85a5b608893e5938d80d16634f (patch)
treea374a6db49bbec1353f33627874b3505ea0e635c /games/quake/patches
parented8bfabafbdb9313d86c055e7220140f3f900c7b (diff)
downloadpkgsrc-e99e7432bfb55c85a5b608893e5938d80d16634f.tar.gz
Make this compile if xpkgwedge is installed.
Diffstat (limited to 'games/quake/patches')
-rw-r--r--games/quake/patches/patch-ae14
-rw-r--r--games/quake/patches/patch-ai11
2 files changed, 13 insertions, 12 deletions
diff --git a/games/quake/patches/patch-ae b/games/quake/patches/patch-ae
index 98a390c5ee9..9a65483cf32 100644
--- a/games/quake/patches/patch-ae
+++ b/games/quake/patches/patch-ae
@@ -1,7 +1,7 @@
-$NetBSD: patch-ae,v 1.4 2000/02/08 14:53:45 wiz Exp $
+$NetBSD: patch-ae,v 1.5 2000/10/05 05:53:36 jlam Exp $
--- QW/Makefile.Linux.orig Wed Apr 21 20:16:24 1999
-+++ QW/Makefile.Linux Tue Feb 8 12:16:23 2000
++++ QW/Makefile.Linux
@@ -27,41 +27,51 @@
RPMARCH=i386
endif
@@ -17,7 +17,8 @@ $NetBSD: patch-ae,v 1.4 2000/02/08 14:53:45 wiz Exp $
CLIENT_DIR=$(MAINDIR)/client
SERVER_DIR=$(MAINDIR)/server
- MESA_DIR=/usr/local/src/Mesa-3.0
+-MESA_DIR=/usr/local/src/Mesa-3.0
++#MESA_DIR=/usr/local/src/Mesa-3.0
CC=gcc
-BASE_CFLAGS=-Wall -Dstricmp=strcasecmp -I$(CLIENT_DIR) -I$(SERVER_DIR)
@@ -37,7 +38,8 @@ $NetBSD: patch-ae,v 1.4 2000/02/08 14:53:45 wiz Exp $
-fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
-malign-jumps=2 -malign-functions=2
endif
- GLCFLAGS=-DGLQUAKE -I/usr/local/src/Mesa-3.0/include -I/usr/include/glide
+-GLCFLAGS=-DGLQUAKE -I/usr/local/src/Mesa-3.0/include -I/usr/include/glide
++GLCFLAGS=-DGLQUAKE -I${MESA_DIR}/include -I/usr/include/glide
-LDFLAGS=-lm
+LDFLAGS=-lm -lossaudio
@@ -46,8 +48,8 @@ $NetBSD: patch-ae,v 1.4 2000/02/08 14:53:45 wiz Exp $
-GL_SVGA_LDFLAGS=-L/usr/X11/lib -L/usr/local/src/Mesa-3.0/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
-GL_X11_LDFLAGS=-L/usr/X11/lib -L/usr/local/src/Mesa-3.0/lib -lm -lGL -lX11 -lXext
+XLDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -lX11 -lXext
-+GL_SVGA_LDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -L/usr/local/src/Mesa-3.0/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
-+GL_X11_LDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -L/usr/local/src/Mesa-3.0/lib -lm -lGL -lX11 -lXext
++GL_SVGA_LDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -L${MESA_DIR}/lib -Wl,-rpath -Wl,${MESA_DIR}/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
++GL_X11_LDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -L${MESA_DIR}/lib -Wl,-rpath -Wl,${MESA_DIR}/lib -lm -lGL -lX11 -lXext
DO_CC=$(CC) $(CFLAGS) -o $@ -c $<
-DO_O_CC=$(CC) -O $(CFLAGS) -o $@ -c $<
diff --git a/games/quake/patches/patch-ai b/games/quake/patches/patch-ai
index 876ad706894..b11684dfc79 100644
--- a/games/quake/patches/patch-ai
+++ b/games/quake/patches/patch-ai
@@ -1,8 +1,8 @@
-$NetBSD: patch-ai,v 1.3 2000/02/08 14:53:45 wiz Exp $
+$NetBSD: patch-ai,v 1.4 2000/10/05 05:53:36 jlam Exp $
--- WinQuake/Makefile.linuxi386.orig Tue Apr 27 17:51:18 1999
-+++ WinQuake/Makefile.linuxi386 Tue Feb 8 12:06:10 2000
-@@ -25,29 +25,32 @@
++++ WinQuake/Makefile.linuxi386
+@@ -25,29 +25,31 @@
endif
NOARCH=noarch
@@ -11,7 +11,6 @@ $NetBSD: patch-ai,v 1.3 2000/02/08 14:53:45 wiz Exp $
MASTER_DIR=/grog/Projects/QuakeMaster
-MESA_DIR=/usr/local/src/Mesa-2.6
+#MESA_DIR=/usr/local/src/Mesa-2.6
-+MESA_DIR=${X11BASE}
TDFXGL_DIR = /home/zoid/3dfxgl
-BUILD_DEBUG_DIR=debug$(ARCH)$(GLIBC)
@@ -42,11 +41,11 @@ $NetBSD: patch-ai,v 1.3 2000/02/08 14:53:45 wiz Exp $
+MESAGLLDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib -L$(MESA_DIR)/lib -lMesaGL -lX11 -lXext
TDFXGLLDFLAGS=-L$(TDFXGL_DIR)/release$(ARCH)$(GLIBC) -l3dfxgl -lglide2x -ldl
-GLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
-+GLLDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -L${LOCALBASE}/lib -Wl,-rpath -Wl,"${LOCALBASE}/lib" -lGL -lX11 -lXext -lXxf86dga -lXxf86vm -lm
++GLLDFLAGS=-L${X11BASE}/lib -Wl,-rpath -Wl,${X11BASE}/lib -L${MESA_DIR}/lib -Wl,-rpath -Wl,${MESA_DIR}/lib -lGL -lX11 -lXext -lXxf86dga -lXxf86vm -lm
GLCFLAGS=-DGLQUAKE -I$(MESA_DIR)/include -I/usr/include/glide
DO_CC=$(CC) $(CFLAGS) -o $@ -c $<
-@@ -57,19 +60,28 @@
+@@ -57,19 +59,28 @@
DO_X11_CC=$(CC) $(CFLAGS) $(XCFLAGS) -o $@ -c $<
DO_X11_DEBUG_CC=$(CC) $(DEBUG_CFLAGS) $(XCFLAGS) -o $@ -c $<
DO_O_CC=$(CC) -O $(CFLAGS) -o $@ -c $<