summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/madplay/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile
index b9c7a7ac72e..6c0b604e4eb 100644
--- a/audio/madplay/Makefile
+++ b/audio/madplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/03/22 23:02:11 snj Exp $
+# $NetBSD: Makefile,v 1.23 2004/06/22 13:59:10 dillo Exp $
#
DISTNAME= madplay-0.15.2b
@@ -21,9 +21,18 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
+BUILD_DEFS+= USE_ESOUND
+BUILD_DEFS+= USE_OSS
+
.include "../../mk/bsd.prefs.mk"
+.if empty(USE_ESOUND:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --without-esd
+.endif
+
+.if !empty(USE_ESOUND:M[Yy][Ee][Ss])
.include "../../audio/esound/buildlink3.mk"
+.endif
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"