diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2007-05-06 17:47:35 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2007-05-06 17:47:35 +0000 |
commit | 8ccf1f60740437c68da7b4a43e2a223c61af9bb5 (patch) | |
tree | f077df95dd390e64c1f12f4f0533c21aef044c7d /games | |
parent | e6da7fe06a936b2d8a42dae5e48047e28eca573e (diff) | |
download | pkgsrc-8ccf1f60740437c68da7b4a43e2a223c61af9bb5.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-aa | 26 |
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 |