aboutsummaryrefslogtreecommitdiffstats
path: root/games/brainparty/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/brainparty/files/patch-Makefile')
-rw-r--r--games/brainparty/files/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/brainparty/files/patch-Makefile b/games/brainparty/files/patch-Makefile
new file mode 100644
index 00000000000..9a20c808c50
--- /dev/null
+++ b/games/brainparty/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig 2010-03-02 16:42:51.000000000 +0300
++++ Makefile 2010-04-04 05:36:14.000000000 +0400
+@@ -11,14 +11,14 @@
+ # to compile on OS X you need to include this Objective C file
+ OSXCOMPAT = SDLMain.m
+ else
+- INCLUDES = `sdl-config --cflags` -I/usr/X11R6/include
++ INCLUDES = `sdl-config --cflags`
+ LIBS = `sdl-config --libs` -lGL -lGLU -lSDL_mixer -lSDL_ttf -lSDL_gfx -lSDL_image
+- CXXFLAGS = -g -c -Wno-deprecated
++ CXXFLAGS += -c -Wno-deprecated
+ OSXCOMPAT =
+ endif
+
+ # object files have corresponding source files
+-CXX = g++
++CXX ?= g++
+
+ all: brainparty
+