Add a WITH_ESD knob to use esd sound backend instead of default OSS.

Suggested by:	Pascal Hofstee <daeron@wit401305.student.utwente.nl>
This commit is contained in:
Maxim Sobolev 2000-05-25 07:52:12 +00:00
parent a11b23934f
commit 37892eca50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28743

View File

@ -16,13 +16,21 @@ MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
dockapp.1:${PORTSDIR}/x11-wm/libdockapp
dockapp.1:${PORTSDIR}/x11-wm/libdockapp \
${ESD_DEPENDS}
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
MAKE_ARGS= "-E CFLAGS"
.if defined(WITH_ESD)
ESD_DEPENDS= esd.2:${PORTSDIR}/audio/esound
CONFIGURE_ARGS+=--enable-esd
.else
ESD_DEPENDS=
.endif
MAN1= get-wsound-flags.1x getsoundset.1x setsoundset.1x \
wsoundplay.1x wsoundserver.1x