diff options
Diffstat (limited to 'games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch')
-rw-r--r-- | games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch new file mode 100644 index 000000000000..c20529e410fa --- /dev/null +++ b/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch @@ -0,0 +1,24 @@ +--- Makefile.old 2006-07-28 00:02:20.000000000 +0200 ++++ Makefile 2006-07-28 00:02:59.000000000 +0200 +@@ -6,8 +6,8 @@ + # James Gregory and Everton da Silva Marques <evertonsm@yahoo.com.br> + # + +-INSTALL_DIR=/usr/local/share +-INSTALL_BIN_DIR=/usr/local/bin ++INSTALL_DIR="${GAMES_DATADIR}" ++INSTALL_BIN_DIR="${GAMES_BINDIR}" + + CXX = g++ + CXXFLAGS = $(shell sdl-config --cflags) -O3 +--- Main.cpp.old 2006-07-28 00:04:46.000000000 +0200 ++++ Main.cpp 2006-07-28 00:08:28.000000000 +0200 +@@ -184,7 +184,7 @@ + #ifndef WIN32
+ string settingsPath = userHomePath + "settings.dat";
+ if (!DoesFileExist(settingsPath))
+- settingsPath = "settings.dat";
++ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat";
+ #else
+ string settingsPath = "settings.dat";
+ #endif
|