summaryrefslogtreecommitdiffstats
path: root/audio/timidity++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/timidity++/Makefile')
-rw-r--r--audio/timidity++/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index 90ce406..5846af5 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
OpenPOWER on IntegriCloud