summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-01-08 20:14:52 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-01-08 20:14:52 +0000
commitb1570b90592e382f83361439b72b264ddf24b37a (patch)
tree1c93d60184a50d4892b9cda9d63e8935cafeb9b0 /audio
parent54528bea5cfce1bb4e41fce9799cedfadc6383d2 (diff)
downloadpkgsrc-b1570b90592e382f83361439b72b264ddf24b37a.tar.gz
Use the correct audio device via ossaudio.buildlink3.mk, pointed
out by Peter Schuller. Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/moc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/moc/Makefile b/audio/moc/Makefile
index 0b34ac2079b..c9b0e97ae26 100644
--- a/audio/moc/Makefile
+++ b/audio/moc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2005/11/19 10:55:37 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2006/01/08 20:14:52 xtraeme Exp $
DISTNAME= moc-2.3.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.daper.net/pub/soft/moc/stable/
EXTRACT_SUFX= .tar.bz2
@@ -18,6 +18,12 @@ USE_NCURSES= yes
# We require ncurses because with curses arrow key navigation is buggy
CONFIGURE_ARGS+= --with-ncurses
+SUBST_CLASSES= oss
+SUBST_STAGE.oss= pre-configure
+SUBST_FILES.oss= config.example options.c
+SUBST_SED.oss= s,/dev/dsp,${DEVOSSAUDIO},g
+SUBST_MESSAGE.oss= Fixing hardcoded audio device.
+
.include "options.mk"
.include "../../audio/libid3tag/buildlink3.mk"
@@ -25,5 +31,6 @@ CONFIGURE_ARGS+= --with-ncurses
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"