summaryrefslogtreecommitdiff
path: root/games/maelstrom-x11/patches/patch-aa
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-11 13:26:12 +0000
committerwiz <wiz@pkgsrc.org>2002-07-11 13:26:12 +0000
commit6d5dc9656fefe759f73494a9fe29014fd9ad6eb5 (patch)
tree7cfbcdfd7cd8881cb4a67df50eed12c4a9feefc7 /games/maelstrom-x11/patches/patch-aa
parent5b89a9f6abe62b944054cbc5c52f9814cf4ad693 (diff)
downloadpkgsrc-6d5dc9656fefe759f73494a9fe29014fd9ad6eb5.tar.gz
Re-import of maelstrom as maelstrom-x11 to better show which version it is;
also, the SDL version seems to be the only one that's under development right now. Requested in pkg/15583 by Ben Wong.
Diffstat (limited to 'games/maelstrom-x11/patches/patch-aa')
-rw-r--r--games/maelstrom-x11/patches/patch-aa52
1 files changed, 52 insertions, 0 deletions
diff --git a/games/maelstrom-x11/patches/patch-aa b/games/maelstrom-x11/patches/patch-aa
new file mode 100644
index 00000000000..d303c6a9de3
--- /dev/null
+++ b/games/maelstrom-x11/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/11 13:26:13 wiz Exp $
+
+--- Makeflags.orig Mon Jul 14 14:32:13 1997
++++ Makeflags Sun Jul 30 01:32:07 2000
+@@ -1,12 +1,42 @@
++# This file contains the template for Makeflags
+
+-# Some sensible defaults
+-BINDIR = /usr/local/bin
+-LIBDIR = /usr/local/lib/Maelstrom
++SYSTEM =
++FEATURES = -DAUDIO_16BIT -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS
+
+-INSTALL = install
++LOGIC = netlogic
+
++XPMINCLUDE = -I$(XPMDIR)/include
++XPMLINKDIR = -Wl,-R$(XPMDIR)/lib -L$(XPMDIR)/lib
++
++BINDIR = $(PREFIX)/bin
++LIBDIR = $(PREFIX)/share/maelstrom
+ DATAFILES = Images/*.icon Images/*.cicn "Maelstrom Fonts" \
+ "Maelstrom Sounds" "Maelstrom Sprites"
+
+-all: config
++OBJS = main.o framebuf.o v_framebuf.o x11_framebuf.o vga_framebuf.o \
++ dga_framebuf.o fontserv.o sound.o Mac_Resource.o imagedump.o \
++ init.o $(LOGIC)/$(LOGIC).o \
++ controls.o scores.o dialog.o fastrand.o netscore.o checksum.o \
++ Utils.o shared.o myerror.o
++SOUNDOBJS = Maelstrom_sound.o Mac_Resource.o soundres.o mixer.o shared.o myerror.o
++
++#CXX = c++
++OPTIMIZE = -O2
++X11INCLUDE = -I$(X11BASE)/include
++INCLUDES = -I$(LOGIC) $(X11INCLUDE) $(XPMINCLUDE)
++CFLAGS = $(OPTIMIZE) $(INCLUDES) $(FEATURES) \
++ -DSYSTEM=\"$(SYSTEM)\" -DLIBDIR=\"$(LIBDIR)\"
++EXTRALIBS =
++X11LINKDIR = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib
++X11LIBS = -lX11 -lXext -lXpm
++CSUMLIB =
++LIBS = $(EXTRALIBS) $(XPMLINKDIR) $(X11LINKDIR) $(X11LIBS) $(CSUMLIB)
++SOUNDLIBS = -lossaudio
++
++INSTALL = /usr/bin/install
++
++all: $(MAELSTROM) netplayd/netplayd
++
++netplayd:
++ cd netplayd && make
+