summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-05-06 17:47:35 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-05-06 17:47:35 +0000
commit4c43e5e3435bf2215446b47a9d705eba83ac2d9c (patch)
treef077df95dd390e64c1f12f4f0533c21aef044c7d /games/openttd
parent3021bc06957bc95e95dad057ab8de8bd8738ae63 (diff)
downloadpkgsrc-4c43e5e3435bf2215446b47a9d705eba83ac2d9c.tar.gz
disable using second data dir and custom lang dir in application bundle on Mac
OS X - we don't use the app bundle with pkgsrc, and this made the application not find lang files
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/patches/patch-aa26
1 files changed, 22 insertions, 4 deletions
diff --git a/games/openttd/patches/patch-aa b/games/openttd/patches/patch-aa
index 7662fd280a5..89c0650e916 100644
--- a/games/openttd/patches/patch-aa
+++ b/games/openttd/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2006/08/22 15:27:03 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2007/05/06 17:47:35 jdolecek Exp $
---- Makefile.orig 2006-08-22 17:22:56.000000000 +0000
-+++ Makefile
-@@ -217,7 +217,7 @@ endif
+--- Makefile.orig 2007-04-20 21:47:49.000000000 +0200
++++ Makefile 2007-05-06 19:17:16.000000000 +0200
+@@ -213,7 +213,7 @@
ifndef WIN32
ifndef MORPHOS
ifndef OSX
@@ -11,3 +11,21 @@ $NetBSD: patch-aa,v 1.4 2006/08/22 15:27:03 joerg Exp $
endif
endif
endif
+@@ -585,17 +585,6 @@
+ CDEFS += -DWITH_COCOA
+ LIBS += -F/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit
+ endif
+-
+- # OSX path setup
+- ifndef SECOND_DATA_PATH
+- SECOND_DATA_PATH:="$(OSXAPP)/Contents/Data/"
+- endif
+-
+- ifndef CUSTOM_LANG_DIR
+- ifndef DEDICATED
+- CUSTOM_LANG_DIR:="$(OSXAPP)/Contents/Lang/"
+- endif
+- endif
+ endif
+
+ ifdef MIDI