$NetBSD: patch-aa,v 1.5 2002/10/19 20:06:45 heinz Exp $

--- Makefile.orig	Tue Aug 13 01:52:36 2002
+++ Makefile
@@ -13,18 +13,25 @@
 
 # specify 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
 
 # specify 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
+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
+RW_GAME_DIR = @SCORE_PATH@
+
+ifdef HAVE_JOYSTICK
+JOYSTICK=-DHAVE_JOYSTICK
+endif
 
 # uncomment this if your system has no joystick include file
 # JOYSTICK = -DNO_JOYSTICK
