diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-06-29 20:34:11 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-06-29 20:34:11 +0000 |
commit | 72ed5c97c3eaf731a98dee189346b9b5d373b178 (patch) | |
tree | 33a553309e7ebaf824cd2c1d3781fcaecf23a0c3 /games/bloodfrontier | |
parent | dbf699088460d74ac6430152b4520b8774e0bc50 (diff) | |
download | ports-72ed5c97c3eaf731a98dee189346b9b5d373b178.tar.gz ports-72ed5c97c3eaf731a98dee189346b9b5d373b178.zip |
Notes
Diffstat (limited to 'games/bloodfrontier')
-rw-r--r-- | games/bloodfrontier/files/patch-src_Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games/bloodfrontier/files/patch-src_Makefile b/games/bloodfrontier/files/patch-src_Makefile index bbef9010a145..3cf6fea958dc 100644 --- a/games/bloodfrontier/files/patch-src_Makefile +++ b/games/bloodfrontier/files/patch-src_Makefile @@ -1,17 +1,17 @@ ---- src/Makefile.orig 2007-12-21 21:40:21.000000000 +0300 -+++ src/Makefile 2008-01-19 06:22:47.000000000 +0300 +--- src/Makefile.orig 2008-05-03 20:17:49.000000000 +0400 ++++ src/Makefile 2008-06-24 21:03:00.239785215 +0400 @@ -1,10 +1,9 @@ -CXXOPTFLAGS= -O3 -fomit-frame-pointer -INCLUDES= -Ishared -Iengine -Ifpsgame -Irpggame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` --CXXFLAGS= -w -fsigned-char $(CXXOPTFLAGS) $(INCLUDES) +-CXXFLAGS= -Wall -fsigned-char $(CXXOPTFLAGS) $(INCLUDES) +INCLUDES= -Ishared -Iengine -Ifpsgame -Irpggame -Ienet/include -I$(LOCALBASE)/include `$(SDL_CONFIG) --cflags` +CXXFLAGS+= -Wall -fsigned-char $(INCLUDES) -PLATFORM_PREFIX=native +PLATFORM_PREFIX=FreeBSD --CLIENT_LIBS=-Lenet -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU -+CLIENT_LIBS=-Lenet -lenet `$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer -lz -L$(LOCALBASE)/lib -lGL -lGLU - CLIENT_OBJS= \ - shared/tools.o \ - shared/geom.o \ +-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU ++CLIENT_LIBS= -Lenet -lenet `$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer -lz -L$(LOCALBASE)/lib -lGL -lGLU + ifeq ($(shell uname -s),Linux) + CLIENT_LIBS+= -lrt + endif |