svn commit: r389803 - branches/2015Q2/games/bloodfrontier/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jun 16 01:15:13 UTC 2015


Author: amdmi3
Date: Tue Jun 16 01:15:12 2015
New Revision: 389803
URL: https://svnweb.freebsd.org/changeset/ports/389803

Log:
  MFH: r388524
  
  - Disable precompiled headers to fix build with old gcc on -current kernel
  - Regenerate patch with make-patch
  
  Approved by:	ports-secteam (build fix blanket)

Added:
  branches/2015Q2/games/bloodfrontier/files/patch-src_Makefile
     - copied unchanged from r388524, head/games/bloodfrontier/files/patch-src_Makefile
Deleted:
  branches/2015Q2/games/bloodfrontier/files/patch-src-Makefile
Modified:
Directory Properties:
  branches/2015Q2/   (props changed)

Copied: branches/2015Q2/games/bloodfrontier/files/patch-src_Makefile (from r388524, head/games/bloodfrontier/files/patch-src_Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2015Q2/games/bloodfrontier/files/patch-src_Makefile	Tue Jun 16 01:15:12 2015	(r389803, copy of r388524, head/games/bloodfrontier/files/patch-src_Makefile)
@@ -0,0 +1,28 @@
+--- src/Makefile.orig	2009-11-25 11:52:58 UTC
++++ src/Makefile
+@@ -1,5 +1,4 @@
+ #CXXFLAGS= -ggdb3
+-CXXFLAGS= -O3 -fomit-frame-pointer
+ override CXXFLAGS+= -Wall -fsigned-char
+ 
+ PLATFORM= $(shell uname -s)
+@@ -21,8 +20,8 @@ WINDRES= windres
+ 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 -lX11
+ endif
+ ifeq ($(PLATFORM),Linux)
+ CLIENT_LIBS+= -lrt
+@@ -82,8 +81,6 @@ CLIENT_OBJS= \
+ 	game/server.o \
+ 	game/stf.o \
+ 	game/weapons.o
+-	
+-CLIENT_PCH= shared/cube.h.gch engine/engine.h.gch game/game.h.gch
+ 
+ ifneq (,$(findstring MINGW,$(PLATFORM)))
+ SERVER_INCLUDES= -DSTANDALONE -DMASTERSERVER -DIRC $(INCLUDES) -Iinclude


More information about the svn-ports-branches mailing list