summaryrefslogtreecommitdiff
path: root/emulators/xmess/files/patch-aa
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-03-27 10:38:45 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-03-27 10:38:45 +0000
commit9f0183ed5afc8071a4ec34cbe4b0f9cc7416edcd (patch)
tree7ca17b19c37e2c24f7196a08dc048f2cbe626384 /emulators/xmess/files/patch-aa
parentRUN_DEPENDS on wget; (diff)
- Update to the version 0.37b12.1 of xmame/xmess
- Make emulators/xmess a slave port of emulators/xmame - Add SDL support (enabled by default) - Add DGA support for non-SDL builds - Define spool directory to /var/games/x{mame,mess}, and install binary setgid games to avoid creating a world writable directory - Add hiscore.dat, history.dat, and cheat.dat support for xmame - Convert patch-ab into ${SED} in ports Makefile - Add CPS-2 patches for xmame; this enables more games - Enable optimization for xmame/xmess by default PR: 25921 (with more patches from originator) Submitted by: Stijn Hoop <stijn@win.tue.nl>
Notes
Notes: svn path=/head/; revision=40430
Diffstat (limited to 'emulators/xmess/files/patch-aa')
-rw-r--r--emulators/xmess/files/patch-aa99
1 files changed, 0 insertions, 99 deletions
diff --git a/emulators/xmess/files/patch-aa b/emulators/xmess/files/patch-aa
deleted file mode 100644
index c198b74b2d85..000000000000
--- a/emulators/xmess/files/patch-aa
+++ /dev/null
@@ -1,99 +0,0 @@
-$NetBSD: patch-aa,v 1.11 1999/07/27 03:20:38 mycroft Exp $
-
---- makefile.unix.orig Wed Aug 26 18:40:21 1998
-+++ makefile.unix Mon Aug 31 04:06:42 1998
-@@ -39,7 +39,7 @@
- # GNU MAKE is MANDATORY !!!
- # so please give me the path...
- # if GNU make is "native" use this
--MAKE = make
-+MAKE = gmake
- # else ...
- # MAKE=/usr/people/jantonio/bin/gmake
-
-@@ -99,18 +99,18 @@
- # *** Select destination directory for your compiled program , manual page
- # and binary distribution ( if you want to... )
- # ( only needed to install, not to compile... )
--DESTDIR = /usr/games
--MANDIR = /usr/local/man/man6
-+DESTDIR = ${PREFIX}/bin
-+MANDIR = ${PREFIX}/man/man6
- DISTDIR = /home/ftp/pub/emulators/$(NAME)
-
- # *** Where the ROM source tree ?
--ROMPATH = \"/usr/games/lib/$(NAME)\"
-+ROMPATH = \"${PREFIX}/share/$(NAME)\"
-
- # *** Where to store high scores ?
--SDIR = \"/usr/games/lib/$(NAME)\"
-+SDIR = \"${PREFIX}/share/$(NAME)\"
-
- # *** Where resides global configuration file ?
--MRC = \"/usr/games/lib/$(NAME)/$(NAME)rc\"
-+MRC = \"${PREFIX}/share/$(NAME)/$(NAME)rc\"
-
-
- ##############################################################################
-@@ -118,7 +118,9 @@
- ##############################################################################
-
- # *** To disable joystick support comment next line
--# JOY = -DUSE_JOYSTICK
-+ifeq (${NETBSD_JOYSTICK},yes)
-+JOY = -DUSE_JOYSTICK
-+endif
-
- # *** To disable mouse support comment next line
- MOUSE = -DUSE_MOUSE
-@@ -137,7 +139,9 @@
- # JSLIB = -lXi
-
- # On iX86 based OS's, if supported, you can use standard joystick driver
--# JS = -DI386_JOYSTICK
-+ifeq (${NETBSD_JOYSTICK},yes)
-+JS = -DI386_JOYSTICK
-+endif
-
- # Linux FM-TOWNS game PAD joystick emulation support
- # Thanks to Osamu Kurati for provided patch
-@@ -158,8 +162,8 @@
- # you might decide to use these feature. Otherwise, you should use a
- # timer based audio code and ajust in src/unix/sound.h AUDIO_TIMER_FREQ item
- #
--S_TIM = -DDONTUSE_TIMER
--# S_TIM = -DUSE_TIMER
-+# S_TIM = -DDONTUSE_TIMER
-+S_TIM = -DUSE_TIMER
-
- # *** When using timer, you should provide the frequency to generate audio sample
- # frames in your system. See readme.unix notes about these item
-@@ -192,7 +196,7 @@
- # note: x11 is the only one supported on all platforms
-
- ### normal X11
--DISPLAY_METHOD = x11
-+#DISPLAY_METHOD = x11
- ### XFree86's DGA extension, only tested under linux
- #DISPLAY_METHOD = xf86_dga
- ### svgalib, only supported under linux
-@@ -215,14 +219,16 @@
- # *** If you haven't the MIT-Shared Memory X Extensions, comment the following:
- # ( Test if available by mean of xdpyinfo command )
- # Comment it if not compiling for normal x11
--# MSHM = -DUSE_MITSHM
-+ifeq (${DISPLAY_METHOD},x11)
-+MSHM = -DUSE_MITSHM
-+endif
-
- # standard location for X11
- # X11INC = -I/usr/include/X11
- # X11LIB = -L/usr/lib/X11
- # standard location for XFree86
--X11INC = -I/usr/X11R6/include
--X11LIB = -L/usr/X11R6/lib
-+X11INC = -I${PREFIX}/include
-+X11LIB = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib
- # for Sun systems
- # X11INC = -I/usr/openwin/include
- # X11LIB = -L/usr/openwin/lib