summaryrefslogtreecommitdiff
path: root/games/battleball/options.mk
blob: 02966a993a1a6f764973894e910d461575320043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:30 wiz Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.battleball
PKG_SUPPORTED_OPTIONS=		opengl

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mopengl)
.include "../../graphics/MesaLib/buildlink3.mk"
.else
CPPFLAGS+=	-DNO_OPENGL
SED_CMDS+=	-e '/^GLINCS/s|^|\#|' -e '/^GLLIBS/s|^|\#|'
.endif