summaryrefslogtreecommitdiff
path: root/audio/ocp/options.mk
blob: 0b0af7ff7872c1951a5e643ee759a543c37e2f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: options.mk,v 1.1 2012/04/30 08:26:41 shattered Exp $

PKG_OPTIONS_VAR=        PKG_OPTIONS.ocp
PKG_SUPPORTED_OPTIONS=  x11

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

# broken (crashes at startup)
.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+=        --with-sdl=yes
PLIST.sdl=		yes
PLIST.desktop=		yes
.include "../../devel/SDL/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-sdl
.endif

.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+=        --with-x11=yes
PLIST.x11=		yes
PLIST.desktop=		yes
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-x11
.endif