diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-12-22 00:30:44 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-12-22 00:30:44 +0000 |
commit | 45940ea0d8166619c8b2be9e0dc8f2f7e1b5bff0 (patch) | |
tree | c11162a062b89d5e440a4c896bc6c18a8a289eba /graphics | |
parent | ce336b1afd953ffac44a2a7eab3f3df5ebecf57f (diff) | |
download | pkgsrc-45940ea0d8166619c8b2be9e0dc8f2f7e1b5bff0.tar.gz |
Use /dev/audio instead of /dev/dsp
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mplayer/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile index 0a59f83347d..35bc13df104 100644 --- a/graphics/mplayer/Makefile +++ b/graphics/mplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/12/22 00:07:06 zuntum Exp $ +# $NetBSD: Makefile,v 1.3 2001/12/22 00:30:44 zuntum Exp $ # DISTNAME= MPlayer-0.18pre @@ -30,6 +30,13 @@ CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32" CONFIGURE_ARGS+= --disable-css CONFIGURE_ARGS+= --disable-streaming +post-patch: + cd ${WRKSRC} && for i in TOOLS/audio-block.c TOOLS/audio-block2.c TOOLS/audio-select.c \ + libao2/ao_oss.c mp3lib/test2.c libac3/test2.c; do \ + ${SED} "s,\/dev\/dsp,\/dev\/audio,g" $${i} >> $${i}.done; \ + ${MV} -f $${i}.done $${i}; \ + done; + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer ${CP} -R ${WRKSRC}/DOCS ${PREFIX}/share/mplayer |