From 1d8820934cdb54f2e080d6fafccf27a94cca5354 Mon Sep 17 00:00:00 2001 From: rh Date: Sun, 15 Oct 2000 12:06:32 +0000 Subject: Use new USE_MESA variable to depend on the correct Mesa packages --- games/battleball/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'games/battleball') 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" -- cgit v1.2.3