aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-09-13 12:56:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-09-13 12:56:49 +0000
commit0c2c9b9e67f12891b828e180c0d4d039f246e861 (patch)
treede62a2219ed836f0154fa2a41046cbd129b1f8d7 /audio
parent6eac7214981ab3ed34a518f6a390498597e281ec (diff)
downloadports-0c2c9b9e67f12891b828e180c0d4d039f246e861.tar.gz
ports-0c2c9b9e67f12891b828e180c0d4d039f246e861.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3blaster/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/audio/mp3blaster/Makefile b/audio/mp3blaster/Makefile
index 25ec6d97c9fc..366841a70346 100644
--- a/audio/mp3blaster/Makefile
+++ b/audio/mp3blaster/Makefile
@@ -18,7 +18,7 @@ CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
-OPTIONS_DEFINE= LIRC SIDPLAY VORBIS DOCS
+OPTIONS_DEFINE= LIRC SIDPLAY VORBIS DOCS ESOUND
OPTIONS_DEFAULT= SIDPLAY VORBIS
SIDPLAY_DESC= Sidplayer support
@@ -40,13 +40,8 @@ NAS_CONFIGURE_WITH= nas
NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas
NAS_LDFLAGS= -laudio
-.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mesound} != ""
-USE_GNOME+= esound
-CONFIGURE_ARGS+= --with-esd
-.else
-CONFIGURE_ARGS+= --without-esd
-.endif
+ESOUND_CONFIGURE_WITH= esd
+ESOUND_GNOME= esound
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/share/mp3blaster/win2koi.tbl|${DATADIR}/charmap/win2koi.tbl|' \
@@ -58,4 +53,4 @@ post-install-DOCS-on:
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>