pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openttd/patches disable using second data dir an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3c72fb1c287
branches:  trunk
changeset: 528529:e3c72fb1c287
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun May 06 17:47:35 2007 +0000

description:
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:

 games/openttd/patches/patch-aa |  26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r db8afbe38161 -r e3c72fb1c287 games/openttd/patches/patch-aa
--- a/games/openttd/patches/patch-aa    Sun May 06 16:36:39 2007 +0000
+++ b/games/openttd/patches/patch-aa    Sun May 06 17:47:35 2007 +0000
@@ -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 @@
                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



Home | Main Index | Thread Index | Old Index