summaryrefslogtreecommitdiff
path: root/games/battleball
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-10-15 12:06:32 +0000
committerrh <rh@pkgsrc.org>2000-10-15 12:06:32 +0000
commit1d8820934cdb54f2e080d6fafccf27a94cca5354 (patch)
tree0eee75c30193d53eafbe9a0d77fc3c1ecca61373 /games/battleball
parent26906ea2f72dc403786319c76a96161fcb2073eb (diff)
downloadpkgsrc-1d8820934cdb54f2e080d6fafccf27a94cca5354.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"