aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-07-21 03:25:07 +0800
committernaddy <naddy@FreeBSD.org>2002-07-21 03:25:07 +0800
commitd137409455612712353a0f0ab2aa72fe3ac1dc2e (patch)
tree47ae51afcafc29a0073b11c027ddcfc5e08e1e38 /audio
parent9d1ed610b4b7428424134b7d450eed394c68d18f (diff)
downloadfreebsd-ports-graphics-d137409455612712353a0f0ab2aa72fe3ac1dc2e.tar.gz
freebsd-ports-graphics-d137409455612712353a0f0ab2aa72fe3ac1dc2e.tar.zst
freebsd-ports-graphics-d137409455612712353a0f0ab2aa72fe3ac1dc2e.zip
Make sure the esd module is only built if wanted.
Submitted by: David Magda <dmagda@ee.ryerson.ca>
Diffstat (limited to 'audio')
-rw-r--r--audio/libao/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index 993954d2478..3579208865b 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>