$NetBSD: patch-aa,v 1.4 2002/02/19 06:25:58 jmc Exp $

--- Makefile.orig	Sun Dec 31 16:24:30 2000
+++ Makefile	Tue Feb 19 06:21:17 2002
@@ -12,15 +12,21 @@
 
 # specify path to X11 on your system
 # if undefined, use system defaults (works with Linux/gcc/libc5)
-X11_PATH = /usr/X11
+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 = /var/games/rocksndiamonds
+
+ifdef HAVE_JOYSTICK
+JOYSTICK=-DHAVE_JOYSTICK
+endif
 
 # uncomment this if your system has no joystick include file
 # JOYSTICK = -DNO_JOYSTICK
@@ -42,7 +48,6 @@
 
 .EXPORT_ALL_VARIABLES:
 
-MAKE = make
 
 SRC_DIR = src
 MAKE_CMD = $(MAKE) -C $(SRC_DIR)
