summaryrefslogtreecommitdiff
path: root/graphics/glitz/options.mk
blob: efa4ae09883d4ff8c3f53faf21450753aba53f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: options.mk,v 1.1 2006/07/23 03:42:43 minskim Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.glitz
PKG_SUPPORTED_OPTIONS=	x11
PKG_SUGGESTED_OPTIONS=	x11

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

###
### X11 support
###
.if !empty(PKG_OPTIONS:Mx11)
LIBS.Darwin+=	-lXext
PLIST_SUBST+=	X11=""
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-glx
PLIST_SUBST+=	X11="@comment "
.endif