summaryrefslogtreecommitdiff
path: root/audio/timidity++
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 05:19:38 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 05:19:38 +0000
commit712a2199384437ea262fe698b283e4f616362747 (patch)
tree945bab070253f362d6ebb5a75a9c90ce751c10c7 /audio/timidity++
parentI maintain this port. (diff)
Implement WANT_ESOUND, USE_ESOUND.
Notes
Notes: svn path=/head/; revision=33420
Diffstat (limited to 'audio/timidity++')
-rw-r--r--audio/timidity++/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index 90ce4069e918..5846af5b4b5b 100644
--- a/audio/timidity++/Makefile
+++ b/audio/timidity++/Makefile
@@ -22,6 +22,7 @@ SLAVEDIRS+= audio/timidity++-gtk audio/timidity++-motif \
audio/timidity++-slang audio/timidity++-tcltk \
audio/timidity++-xaw audio/timidity++-xskin
USE_BZIP2= yes
+WANT_ESOUND= yes
GNU_CONFIGURE= yes
.if !defined(WITHOUT_X11)
USE_XLIB= yes
@@ -40,13 +41,6 @@ CONFIGURE_ARGS= --enable-ncurses --enable-vt100 \
--enable-network --disable-spectrogram --disable-wrd
.endif
-.if defined(WITH_ESOUND)
-LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
-CONFIGURE_ARGS+= --enable-audio=oss,esd
-.else
-CONFIGURE_ARGS+= --enable-audio=oss
-.endif
-
MAN1= timidity.1
MAN5= timidity.cfg.5
@@ -56,6 +50,13 @@ DOCLANG= C ja_JP.ujis
.include <bsd.port.pre.mk>
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+CONFIGURE_ARGS+=--enable-audio=oss,esd
+.else
+CONFIGURE_ARGS+=--enable-audio=oss
+.endif
+
.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_ENV= LDFLAGS=-export-dynamic
.endif