summaryrefslogtreecommitdiff
path: root/audio/libao
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libao')
-rw-r--r--audio/libao/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index 993954d24786..3579208865b6 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -37,13 +37,16 @@ USE_ESOUND= yes
PLIST_SUB= ESOUND=""
.else
PLIST_SUB= ESOUND="@comment "
+CONFIGURE_ARGS+= --disable-esd
.endif
+# XXX This needs a better check.
.if exists(${LOCALBASE}/bin/artsc-config)
LIB_DEPENDS= artsc.0:${PORTSDIR}/audio/arts
PLIST_SUB+= ARTS=""
.else
PLIST_SUB+= ARTS="@comment "
+CONFIGURE_ARGS+= --disable-arts
.endif
.include <bsd.port.post.mk>