summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-03 08:05:27 +0000
committerjlam <jlam@pkgsrc.org>2002-10-03 08:05:27 +0000
commit3fc449ac0a8c5bc6a9d510eddddf95e3ad62fd2e (patch)
tree6acdc45b023b443f4c2d7bc8112b860eafe8cee7 /audio
parent3278f50981aa8e3a820688822abf3f7a3b81d30e (diff)
downloadpkgsrc-3fc449ac0a8c5bc6a9d510eddddf95e3ad62fd2e.tar.gz
Use ${DEVOSSSOUND} instead of /dev/sound, and some whitespace changes.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile
index 40c8099f19c..33976b9d768 100644
--- a/audio/xmms/Makefile
+++ b/audio/xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2002/09/09 19:43:14 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2002/10/03 08:05:27 jlam Exp $
#
DISTNAME= xmms-1.2.7
@@ -29,18 +29,18 @@ LIBS+= -liconv
PTHREAD_OPTS+= require
.if (${OPSYS} == NetBSD)
-CONFIGURE_ARGS+= --with-dev-dsp=/dev/sound
+CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND}
CPPFLAGS+= -DHAVE_NANOSLEEP=1
-.if (${MACHINE_ARCH} == i386)
+. if (${MACHINE_ARCH} == i386)
post-patch:
-.if (${OBJECT_FMT} == a.out)
+. if (${OBJECT_FMT} == a.out)
${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/Input/mpg123/decode_i586.s
-.endif
+. endif
cd ${WRKSRC}/Input/mpg123 && \
${MV} decode_i586.s decode_i586.s.orig && \
${SED} -e 's@^/@#/@g' <decode_i586.s.orig >decode_i586.s
-.endif
+. endif
.endif
.include "../../audio/esound/buildlink2.mk"
@@ -52,4 +52,5 @@ post-patch:
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"