summaryrefslogtreecommitdiff
path: root/games/battleball
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-21 00:55:26 +0000
committerwiz <wiz@pkgsrc.org>2002-10-21 00:55:26 +0000
commit78e8f45664e3643879ab867fac4bccfa73f9c510 (patch)
treeba6147f7f6ed0b7de5d9840db7b97f0b8ae92323 /games/battleball
parent81d4186ff5f89f0d2421c9e20efa2ae821a78ff6 (diff)
downloadpkgsrc-78e8f45664e3643879ab867fac4bccfa73f9c510.tar.gz
Only use Mesa if BATTLEBALL_USE_MESA is set.
Diffstat (limited to 'games/battleball')
-rw-r--r--games/battleball/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/battleball/Makefile b/games/battleball/Makefile
index 228c6dd5718..957bdfcf4b4 100644
--- a/games/battleball/Makefile
+++ b/games/battleball/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/10/20 12:59:07 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2002/10/21 00:55:26 wiz Exp $
DISTNAME= battleball.21.src
PKGNAME= battleball-2.1
@@ -25,11 +25,10 @@ do-install:
.include "../../mk/bsd.prefs.mk"
.if defined(BATTLEBALL_USE_MESA)
-USE_MESA= YES
+.include "../../graphics/Mesa/buildlink2.mk"
.else
CPPFLAGS+= -DNO_OPENGL
SED_CMDS+= -e '/^GLINCS/s|^|\#|' -e '/^GLLIBS/s|^|\#|'
.endif
-.include "../../graphics/Mesa/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"