openbsd-ports/games/mirrormagic/patches/patch-Makefile
2006-01-27 01:32:50 +00:00

37 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2006/01/27 01:32:50 jolan Exp $
--- Makefile.orig Thu Jan 26 21:52:41 2006
+++ Makefile Thu Jan 26 21:52:51 2006
@@ -8,19 +8,19 @@
#-----------------------------------------------------------------------------#
# specify your favorite ANSI C compiler
-CC = gcc
+#CC = gcc
# 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,7 +42,7 @@ CROSS_PATH_WIN32=/usr/local/cross-tools/
.EXPORT_ALL_VARIABLES:
-MAKE = make
+#MAKE = make
SRC_DIR = src
MAKE_CMD = $(MAKE) -C $(SRC_DIR)