summaryrefslogtreecommitdiff
path: root/emulators/pearpc/options.mk
blob: 8ef0eee8127194b5462ed3e7115f4fd3c66d8ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: options.mk,v 1.2 2007/02/19 18:44:11 joerg Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.pearpc
PKG_OPTIONS_REQUIRED_GROUPS=	ui
PKG_OPTIONS_GROUP.ui=		x11 sdl
PKG_SUGGESTED_OPTIONS=		x11

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

.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+=		--enable-ui=x11
.include "../../x11/libX11/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+=		--enable-ui=sdl
.include "../../devel/SDL/buildlink3.mk"
.endif