aboutsummaryrefslogtreecommitdiff
path: root/games/bloodfrontier/files/patch-src-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/bloodfrontier/files/patch-src-Makefile')
-rw-r--r--games/bloodfrontier/files/patch-src-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/bloodfrontier/files/patch-src-Makefile b/games/bloodfrontier/files/patch-src-Makefile
new file mode 100644
index 000000000000..c7f5e89d57ac
--- /dev/null
+++ b/games/bloodfrontier/files/patch-src-Makefile
@@ -0,0 +1,19 @@
+--- src/Makefile.orig 2009-11-25 14:52:58.000000000 +0300
++++ src/Makefile 2009-12-17 00:09:47.000000000 +0300
+@@ -1,5 +1,4 @@
+ #CXXFLAGS= -ggdb3
+-CXXFLAGS= -O3 -fomit-frame-pointer
+ override CXXFLAGS+= -Wall -fsigned-char
+
+ PLATFORM= $(shell uname -s)
+@@ -21,8 +20,8 @@
+ CLIENT_INCLUDES= -DINTERFACE -DIRC $(INCLUDES) -Iinclude
+ CLIENT_LIBS= -mwindows -lmingw32 -Llib -lSDLmain -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm
+ else
+-CLIENT_INCLUDES= -DINTERFACE -DIRC $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
+-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
++CLIENT_INCLUDES= -DINTERFACE -DIRC $(INCLUDES) -I${LOCALBASE}/include `${SDL_CONFIG} --cflags`
++CLIENT_LIBS= -Lenet -lenet -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lz -lGL
+ endif
+ ifeq ($(PLATFORM),Linux)
+ CLIENT_LIBS+= -lrt