summaryrefslogtreecommitdiff
path: root/games/goonies/makefile.patch
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-03-27 20:40:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-28 02:22:16 +0700
commit6aec4bac397d14219364da35f2cfdca8365568d4 (patch)
treec166e0d4644b342fdc086259f55229ca8b69aa0b /games/goonies/makefile.patch
parent042b3ca1fcfa3a9aacc86842f3e3b307fa1af395 (diff)
downloadslackbuilds-6aec4bac397d14219364da35f2cfdca8365568d4.tar.gz
games/goonies: Added (A remake of the MSX Goonies game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/goonies/makefile.patch')
-rw-r--r--games/goonies/makefile.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/games/goonies/makefile.patch b/games/goonies/makefile.patch
new file mode 100644
index 0000000000..a2454a0592
--- /dev/null
+++ b/games/goonies/makefile.patch
@@ -0,0 +1,27 @@
+--- goonies-1.4.1528/build/linux/Makefile.orig 2015-03-26 04:24:44.994794899 +0200
++++ goonies-1.4.1528/build/linux/Makefile 2015-03-26 05:08:09.457234638 +0200
+@@ -3,11 +3,11 @@
+ PREFIX = /usr
+ EXTRADIR = ./build/linux
+
+-GAMEDIR = $(PREFIX)/games
++GAMEDIR = $(PREFIX)/usr/bin
+ STARTUP = $(GAMEDIR)/$(EXE)
+-BINDIR = $(PREFIX)/share/games/$(EXE)
+-ICNDIR = $(PREFIX)/share/pixmaps
+-APPDIR = $(PREFIX)/share/applications
++BINDIR = $(PREFIX)/usr/share/games/$(EXE)
++ICNDIR = $(PREFIX)/usr/share/pixmaps
++APPDIR = $(PREFIX)/usr/share/applications
+
+ DATA = graphics maps sound
+ ICON = goonies.png
+@@ -58,7 +58,7 @@
+
+ CC = gcc
+ CFLAGS = -g3 -O3 -Wno-write-strings `sdl-config --cflags` -I/usr/X11R6/include
+-LDFLAGS = `sdl-config --libs` -L/usr/X11R6/lib/ -lSDL_image -lSDL_mixer -lGL -lGLU
++LDFLAGS = `sdl-config --libs` -L/usr/X11R6/lib/ -lSDL_image -lSDL_mixer -lGL -lGLU -lm -lstdc++
+ RM = rm -f
+ CP = cp -r
+ MD = mkdir -p