summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2004-06-22 13:59:10 +0000
committerdillo <dillo@pkgsrc.org>2004-06-22 13:59:10 +0000
commita3f722e4a38d61521c93c0d0b7869dd017b9640a (patch)
treeea4f4d1a04a90fc8d25efab1fc5c21e59a85d25f /audio
parent027cd62db92c741622a391c50269cfa981d76d97 (diff)
downloadpkgsrc-a3f722e4a38d61521c93c0d0b7869dd017b9640a.tar.gz
Make this package obey USE_ESOUND. While here, add USE_OSS to BUILD_DEFS.
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"