summaryrefslogtreecommitdiff
path: root/games/battleball
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-21 00:55:26 +0000
committerwiz <wiz>2002-10-21 00:55:26 +0000
commit7d3db143c5a44eb97103ca151e7998f0417a917f (patch)
treeba6147f7f6ed0b7de5d9840db7b97f0b8ae92323 /games/battleball
parente0103261791693c4195397da121f851fa4a09a0d (diff)
downloadpkgsrc-7d3db143c5a44eb97103ca151e7998f0417a917f.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"