pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/madplay Make this package obey USE_ESOUND. Whil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea7d5986abdf
branches:  trunk
changeset: 476900:ea7d5986abdf
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Tue Jun 22 13:59:10 2004 +0000

description:
Make this package obey USE_ESOUND.  While here, add USE_OSS to BUILD_DEFS.

diffstat:

 audio/madplay/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 4fa98a1612ae -r ea7d5986abdf audio/madplay/Makefile
--- a/audio/madplay/Makefile    Tue Jun 22 13:50:21 2004 +0000
+++ b/audio/madplay/Makefile    Tue Jun 22 13:59:10 2004 +0000
@@ -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 @@
 # 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"



Home | Main Index | Thread Index | Old Index