pkgsrc/devel/SDL/options.mk
wiz 15cd9859d6 As promised a week ago, remove arts and aalib from default suggested
options.
arts is obsolete and aalib only ever was a nice hack, not something
to be enabled by default.
2012-10-28 23:40:24 +00:00

40 lines
996 B
Makefile

# $NetBSD: options.mk,v 1.6 2012/10/28 23:40:24 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL
PKG_SUPPORTED_OPTIONS= aalib arts esound nas pulseaudio
PKG_SUGGESTED_OPTIONS= 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