aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mad/Makefile')
-rw-r--r--audio/mad/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/mad/Makefile b/audio/mad/Makefile
index ee0e48b428e1..52092a50a46c 100644
--- a/audio/mad/Makefile
+++ b/audio/mad/Makefile
@@ -17,7 +17,8 @@ MAINTAINER= jason@mastaler.com
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
-WANT_ESOUND= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
USE_AUTOCONF= yes
USE_LIBTOOL= yes
@@ -35,8 +36,9 @@ MAN1= abxtest.1 madplay.1
.include <bsd.port.pre.mk>
-.if defined(HAVE_ESOUND)
-USE_ESOUND= yes
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+= esound
+PKGNAMESUFFIX= -esound
.else
CONFIGURE_ARGS+= --without-esd
.endif