diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-06 19:54:40 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-06 19:54:40 +0000 |
commit | 4a4b5e4725294643af1844ccd266bec313cfeeb1 (patch) | |
tree | ac4b206140e112fb5b86e9530381379a5d5139c4 /games/battleball/files | |
parent | Update to 1.3. (diff) |
o make it PTHREAD_{LIBS,CFLAGS} safe
o some Makefile style files: use DOCSDIR and extraneous space
removals
o support NOPORTDOCS
PR: 29482
Submitted by: Patrick Li <pat@databits.net>
Notes
Notes:
svn path=/head/; revision=45895
Diffstat (limited to 'games/battleball/files')
-rw-r--r-- | games/battleball/files/patch-af | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/games/battleball/files/patch-af b/games/battleball/files/patch-af index 5c67ec764104..1dc6604a8ba9 100644 --- a/games/battleball/files/patch-af +++ b/games/battleball/files/patch-af @@ -1,21 +1,20 @@ ---- Makefile Thu Sep 2 22:25:18 1999 -+++ Makefile.new Sun Apr 16 17:28:19 2000 -@@ -1,17 +1,18 @@ +--- Makefile.orig Thu Sep 2 22:25:18 1999 ++++ Makefile Mon Aug 6 00:46:04 2001 +@@ -1,17 +1,14 @@ -CXX = g++ -+CXX ?= c++ - +- # If you don't have OpenGL or Mesa, you can still compile BattleBall; # just define the symbol NO_OPENGL when compiling, and don't link with # $(GLLIBS) when linking -CXXFLAGS = -O2 -funroll-loops -+CXXFLAGS ?= -O -pipe - #CXXFLAGS = -O2 -funroll-loops -DNO_OPENGL +-#CXXFLAGS = -O2 -funroll-loops -DNO_OPENGL ++CXXFLAGS += ${PTHREAD_CFLAGS} INCS = -Ibsp -Ilib3d -XLIBS = -L/usr/X11R6/lib -lX11 -+X11BASE ?=/usr/X11R6 +-LIBS = -lm $(XLIBS) +XLIBS = -L$(X11BASE)/lib -lX11 - LIBS = -lm $(XLIBS) ++LIBS = -lm $(XLIBS) ${PTHREAD_LIBS} -GLINCS = -I/usr/local/X11/include -GLLIBS = -lXi -lXmu -lXext -L/usr/local/X11/lib -lMesaGL |