From ce191f9f6213a3d864203d1e4138ba2214cb26ec Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 20 Jul 2002 19:25:07 +0000 Subject: Make sure the esd module is only built if wanted. Submitted by: David Magda --- audio/libao/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'audio/libao') 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 -- cgit v1.2.3