summaryrefslogtreecommitdiff
path: root/games/battleball
diff options
context:
space:
mode:
authorrh <rh>2000-10-15 12:06:32 +0000
committerrh <rh>2000-10-15 12:06:32 +0000
commited4c7e54fabb723a86ef67fc00c81d2ee9e94119 (patch)
tree0eee75c30193d53eafbe9a0d77fc3c1ecca61373 /games/battleball
parent58810cfb32e9e733c3bae69535147bfeef6eb1d7 (diff)
downloadpkgsrc-ed4c7e54fabb723a86ef67fc00c81d2ee9e94119.tar.gz
Use new USE_MESA variable to depend on the correct Mesa packages
Diffstat (limited to 'games/battleball')
-rw-r--r--games/battleball/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/battleball/Makefile b/games/battleball/Makefile
index 10231e18509..06d33d245c9 100644
--- a/games/battleball/Makefile
+++ b/games/battleball/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/01/06 19:10:31 fredb Exp $
+# $NetBSD: Makefile,v 1.5 2000/10/15 12:06:34 rh Exp $
DISTNAME= battleball.21.src
PKGNAME= battleball-2.1
@@ -23,13 +23,11 @@ do-install:
.include "../../mk/bsd.prefs.mk"
-.if !defined(USE_MESA)
+.if defined(BATTLEBALL_USE_MESA)
+USE_MESA= YES
+.else
CPPFLAGS+= -DNO_OPENGL
SED_CMDS+= -e '/^GLINCS/s|^|\#|' -e '/^GLLIBS/s|^|\#|'
-.else
-# Note to Maintainers: Wildcard needs to match all possible Mesa-glx
-# variations, so the build doesn't fail if Mesa-glx is already installed.
-DEPENDS+= Mesa-*:../../graphics/Mesa
.endif
.include "../../mk/bsd.pkg.mk"