summaryrefslogtreecommitdiff
path: root/games/mirrormagic-sdl/patches/patch-aa
blob: 943e3fa425992a3fbac823ecfb2122fbca597e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-aa,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $

--- Makefile.orig	Tue Mar 19 02:59:43 2002
+++ Makefile	Thu Mar 28 11:43:12 2002
@@ -12,15 +12,17 @@
 
 # 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/mirrormagic
 
 # 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/mirrormagic
 
 # uncomment this if your system has no joystick include file
 # JOYSTICK = -DNO_JOYSTICK
@@ -42,13 +44,12 @@
 
 .EXPORT_ALL_VARIABLES:
 
-MAKE = make
 
 SRC_DIR = src
 MAKE_CMD = $(MAKE) -C $(SRC_DIR)
 
 all:
-	@$(MAKE_CMD) TARGET=x11
+	@$(MAKE_CMD) TARGET=sdl
 
 x11:
 	@$(MAKE_CMD) TARGET=x11