summaryrefslogtreecommitdiff
path: root/games/battleball
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-20 12:59:07 +0000
committerwiz <wiz>2002-10-20 12:59:07 +0000
commitcaa1b682efbb282a8037f0fc4baab6a2335c5664 (patch)
tree6b7c74157532039bc38eb94f7e70681d70732825 /games/battleball
parentecc1a681bcc2924f976bc1e129d7fa2e832d47a1 (diff)
downloadpkgsrc-caa1b682efbb282a8037f0fc4baab6a2335c5664.tar.gz
Convert to buildlink2.
Diffstat (limited to 'games/battleball')
-rw-r--r--games/battleball/Makefile6
-rw-r--r--games/battleball/distinfo5
-rw-r--r--games/battleball/patches/patch-aa8
-rw-r--r--games/battleball/patches/patch-ab13
4 files changed, 23 insertions, 9 deletions
diff --git a/games/battleball/Makefile b/games/battleball/Makefile
index 95d79226c42..228c6dd5718 100644
--- a/games/battleball/Makefile
+++ b/games/battleball/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/16 15:10:43 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2002/10/20 12:59:07 wiz Exp $
DISTNAME= battleball.21.src
PKGNAME= battleball-2.1
@@ -9,11 +9,10 @@ MAINTAINER= root@garbled.net
HOMEPAGE= http://www.cs.utexas.edu/users/pahardin/bb.html
COMMENT= 3d game of soccer, with tanks
+USE_BUILDLINK2= YES
USE_X11= YES
-CHECK_MESA= YES
WRKSRC= ${WRKDIR}/battleball-2.1-src
-CPPFLAGS+= -I${X11BASE}/include
SED_CMDS= -e '/^INCS/s|$$|${CPPFLAGS}|' -e '/^LIBS/s|$$|${LDFLAGS}|'
do-configure:
@@ -32,4 +31,5 @@ CPPFLAGS+= -DNO_OPENGL
SED_CMDS+= -e '/^GLINCS/s|^|\#|' -e '/^GLLIBS/s|^|\#|'
.endif
+.include "../../graphics/Mesa/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/battleball/distinfo b/games/battleball/distinfo
index dd09be5d784..6426b54c89f 100644
--- a/games/battleball/distinfo
+++ b/games/battleball/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 02:08:18 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/10/20 12:59:07 wiz Exp $
SHA1 (battleball.21.src.tar.gz) = 5bc651d513d378d449c117488ef54af5f3381072
Size (battleball.21.src.tar.gz) = 102001 bytes
-SHA1 (patch-aa) = 645b753a5be8f1bba80181da92df878546a04fb1
+SHA1 (patch-aa) = 96728a9548fb46fcc84e75ed57a074613a1e81d2
+SHA1 (patch-ab) = 477a8860a8f65a10b163846f184c39e7916712ff
diff --git a/games/battleball/patches/patch-aa b/games/battleball/patches/patch-aa
index 6c0e98ebd46..130095dd397 100644
--- a/games/battleball/patches/patch-aa
+++ b/games/battleball/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2000/01/06 08:46:33 fredb Exp $
+$NetBSD: patch-aa,v 1.4 2002/10/20 12:59:08 wiz Exp $
---- lib3d/gfxtarget.h.orig Thu Sep 2 21:25:19 1999
-+++ lib3d/gfxtarget.h Thu Jan 6 02:05:27 2000
-@@ -72,7 +72,14 @@
+--- lib3d/gfxtarget.h.orig Fri Sep 3 04:25:19 1999
++++ lib3d/gfxtarget.h
+@@ -72,7 +72,14 @@ struct gfxTarget {
XFillRectangle(disp,win,gc,(int)p.x,(int)p.y,(int)sz.x,(int)sz.y);
}
void ResizeWindow(const pt2d& sz) {
diff --git a/games/battleball/patches/patch-ab b/games/battleball/patches/patch-ab
new file mode 100644
index 00000000000..147186bea30
--- /dev/null
+++ b/games/battleball/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2002/10/20 12:59:08 wiz Exp $
+
+--- Makefile.orig Fri Sep 3 04:25:18 1999
++++ Makefile
+@@ -11,7 +11,7 @@ XLIBS = -L/usr/X11R6/lib -lX11
+ LIBS = -lm $(XLIBS)
+
+ GLINCS = -I/usr/local/X11/include
+-GLLIBS = -lXi -lXmu -lXext -L/usr/local/X11/lib -lMesaGL
++GLLIBS = -lXi -lXmu -lXext -L/usr/local/X11/lib -lGL
+ #GLLIBS =
+
+ BSPOBJS = bsp/brep.o bsp/bsp.o bsp/polygon.o