blob: d1f6abf39b1eaf1cee206627daa0dbd9bb25ff2d (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: options.mk,v 1.5 2008/12/19 13:05:06 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL
PKG_SUPPORTED_OPTIONS= aalib arts esound nas pulseaudio
PKG_SUGGESTED_OPTIONS= aalib arts esound nas pulseaudio
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Maalib)
CONFIGURE_ARGS+= --enable-video-aalib
.include "../../graphics/aalib/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Marts)
CONFIGURE_ARGS+= --enable-arts
.include "../../audio/arts/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-arts
.endif
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+= --enable-esd
.include "../../audio/esound/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-esd
.endif
.if !empty(PKG_OPTIONS:Mnas)
CONFIGURE_ARGS+= --enable-nas
.include "../../audio/nas/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nas
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
# for some reason --enable-pulseaudio disables the
# configure check
#CONFIGURE_ARGS+= --enable-pulseaudio
.include "../../audio/pulseaudio/buildlink3.mk"
.endif
|