summaryrefslogtreecommitdiff
path: root/games/battleball/files/patch-af
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-04-16 22:03:02 +0000
committerWill Andrews <will@FreeBSD.org>2000-04-16 22:03:02 +0000
commitff575837b67a50bf48074546c3ecd13acacdef63 (patch)
tree4fcaf0c5eb74feadd4ebb9a4b84a24d0d238d665 /games/battleball/files/patch-af
parentAdd missing ldconfig. (diff)
Update to battleball 2.1. Since the author's original site is gone, and
since the tarball seems to be available on tucows, we'll move it there instead of putting it on my people.FreeBSD.org space. This also fixes the distfile fennerism, and finally we can remove USE_IMAKE! The patches that have been removed are obsolete due to newer compilers.
Notes
Notes: svn path=/head/; revision=27670
Diffstat (limited to '')
-rw-r--r--games/battleball/files/patch-af26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/battleball/files/patch-af b/games/battleball/files/patch-af
new file mode 100644
index 000000000000..5c67ec764104
--- /dev/null
+++ b/games/battleball/files/patch-af
@@ -0,0 +1,26 @@
+--- Makefile Thu Sep 2 22:25:18 1999
++++ Makefile.new Sun Apr 16 17:28:19 2000
+@@ -1,17 +1,18 @@
+-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
+
+ INCS = -Ibsp -Ilib3d
+-XLIBS = -L/usr/X11R6/lib -lX11
++X11BASE ?=/usr/X11R6
++XLIBS = -L$(X11BASE)/lib -lX11
+ LIBS = -lm $(XLIBS)
+
+-GLINCS = -I/usr/local/X11/include
+-GLLIBS = -lXi -lXmu -lXext -L/usr/local/X11/lib -lMesaGL
++GLINCS = -I$(X11BASE)/include
++GLLIBS = -lXi -lXmu -lXext -L$(X11BASE)/lib -lGL
+ #GLLIBS =
+
+ BSPOBJS = bsp/brep.o bsp/bsp.o bsp/polygon.o