summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/rocksndiamonds/patches/patch-aa')
-rw-r--r--games/rocksndiamonds/patches/patch-aa35
1 files changed, 18 insertions, 17 deletions
diff --git a/games/rocksndiamonds/patches/patch-aa b/games/rocksndiamonds/patches/patch-aa
index fde4ddc40ac..bff1a841cde 100644
--- a/games/rocksndiamonds/patches/patch-aa
+++ b/games/rocksndiamonds/patches/patch-aa
@@ -1,32 +1,33 @@
-$NetBSD: patch-aa,v 1.5 2002/10/19 20:06:45 heinz Exp $
+$NetBSD: patch-aa,v 1.6 2003/11/19 12:48:47 adam Exp $
---- Makefile.orig Tue Aug 13 01:52:36 2002
+--- Makefile.orig 2003-11-09 23:35:32.000000000 +0100
+++ Makefile
-@@ -13,18 +13,25 @@
+@@ -14,21 +14,23 @@ CC = gcc
- # specify command name of GNU make on your system
+ # command name of GNU make on your system
# (this must be set to "gmake" for some systems)
-MAKE = make
-+# MAKE will be supplied by pkgsrc
-+# MAKE = make
++#MAKE = make
- # specify path to X11 on your system
+ # path to X11 on your system
-X11_PATH = /usr/X11R6
+X11_PATH = ${X11BASE}
- # specify directory for read-only game data (like graphics, sounds, levels)
- # default is '.', so you can play without installing game data somewhere
- # RO_GAME_DIR = /usr/games
+ # directory for read-only game data (like graphics, sounds, levels)
+ # default is '.' to be able to run program without installation
+-# RO_GAME_DIR = /usr/games
+RO_GAME_DIR = ${PREFIX}/share/rocksndiamonds
- # specify directory for writable game data (like highscore files)
- # default is '.', so you can play without installing game data somewhere
- # RW_GAME_DIR = /var/games
+ # directory for writable game data (like highscore files)
+ # default is '.' to be able to run program without installation
+-# RW_GAME_DIR = /var/games
+RW_GAME_DIR = @SCORE_PATH@
-+
+
+ # uncomment if system has no joystick include file
+-# JOYSTICK = -DNO_JOYSTICK
+ifdef HAVE_JOYSTICK
-+JOYSTICK=-DHAVE_JOYSTICK
++JOYSTICK = -DHAVE_JOYSTICK
+endif
- # uncomment this if your system has no joystick include file
- # JOYSTICK = -DNO_JOYSTICK
+ # choose if more than one global score file entry for one player is allowed
+ # (default: MANY_PER_NAME)