summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2007-05-06 17:47:35 +0000
committerjdolecek <jdolecek>2007-05-06 17:47:35 +0000
commit6b331ae0cc577e8bcd308320d1acce60b48bf18f (patch)
treef077df95dd390e64c1f12f4f0533c21aef044c7d /games
parent157a93261f828c706047c8a4899f525094ce3e65 (diff)
downloadpkgsrc-6b331ae0cc577e8bcd308320d1acce60b48bf18f.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')
-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