summaryrefslogtreecommitdiff
path: root/games/kajaani-kombat/patches/patch-aa
blob: d549e6815613df17a4089a8bc08e4014a0dde2e7 (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
$NetBSD: patch-aa,v 1.2 2006/08/07 19:35:07 wiz Exp $

--- Makefile.orig	2005-01-31 18:57:14.000000000 +0000
+++ Makefile
@@ -19,7 +19,7 @@
 
 ## DEBIAN RELEASE
 ifeq ($(sys), DEBIAN)
-	MEDIA=-D MEDIA_PATH=\"/usr/share/games/kajaanikombat/\"
+	MEDIA=-D MEDIA_PATH=\"/usr/share/games/kajaani-kombat/\"
 	DEBUG= -O $(MEDIA)
 endif
 ## WIN RELEASE
@@ -34,12 +34,12 @@ ifeq ($(sys), UNIX )
 endif
 ## UNIX DEBUG
 ifeq ($(sys), DEBUG)
-	MEDIA=-D MEDIA_PATH=\"./\"
+	MEDIA=-D MEDIA_PATH=\"${PREFIX}/share/kajaani-kombat/\"
 	DEBUG= -g -DDEBUG $(MEDIA)
 endif
 ## UNIX RELEASE (default option)
 ifeq ($(sys), )
-	MEDIA=-D MEDIA_PATH=\"./\"
+	MEDIA=-D MEDIA_PATH=\"${PREFIX}/share/kajaani-kombat/\"
 	DEBUG= -O $(MEDIA)
 endif