summaryrefslogtreecommitdiff
path: root/games/neverball/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'games/neverball/patches/patch-ab')
-rw-r--r--games/neverball/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/neverball/patches/patch-ab b/games/neverball/patches/patch-ab
new file mode 100644
index 00000000000..07eb3cc4a86
--- /dev/null
+++ b/games/neverball/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2009/12/03 06:33:46 snj Exp $
+
+--- Makefile.orig 2009-09-20 03:06:00.000000000 -0700
++++ Makefile 2009-12-02 21:39:12.000000000 -0800
+@@ -27,7 +27,7 @@ endif
+ # Paths (packagers might want to set DATADIR and LOCALEDIR)
+
+ USERDIR := .neverball
+-DATADIR := ./data
++DATADIR := ${PREFIX}/share/neverball/data
+ LOCALEDIR := ./locale
+
+ ifdef MINGW
+@@ -309,7 +309,7 @@ DESKTOPS := $(basename $(wildcard dist/*
+
+ #------------------------------------------------------------------------------
+
+-all : $(BALL_TARG) $(PUTT_TARG) $(MAPC_TARG) sols locales desktops
++all : $(BALL_TARG) $(PUTT_TARG) $(MAPC_TARG) sols locales
+
+ $(BALL_TARG) : $(BALL_OBJS)
+ $(CC) $(ALL_CFLAGS) -o $(BALL_TARG) $(BALL_OBJS) $(LDFLAGS) $(ALL_LIBS)