aboutsummaryrefslogtreecommitdiff
path: root/audio/libao/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libao/Makefile')
-rw-r--r--audio/libao/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index 28f6ea1bce03..6504ba2a1d16 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -16,13 +16,14 @@ USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
+ --disable-alsa \
--disable-arts
INSTALL_TARGET= install-strip
# do not install
MAKE_ARGS= ckport_DATA=""
-OPTIONS_DEFINE= DOCS ESOUND NAS PULSEAUDIO
+OPTIONS_DEFINE= DOCS ESOUND NAS PULSEAUDIO SNDIO
OPTIONS_SUB= yes
NAS_LIB_DEPENDS=libaudio.so:audio/nas
@@ -34,6 +35,9 @@ PULSEAUDIO_CONFIGURE_ENABLE= pulse
ESOUND_CONFIGURE_ENABLE=esd
ESOUND_USE= GNOME=esound
+SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
+SNDIO_USES= localbase
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \
${WRKSRC}/libao.conf.5 ${WRKSRC}/include/ao/ao_private.h \