summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-01-08 20:14:52 +0000
committerxtraeme <xtraeme>2006-01-08 20:14:52 +0000
commit91c36591ba1faa179af31e1b4368df597b556eb8 (patch)
tree1c93d60184a50d4892b9cda9d63e8935cafeb9b0
parent9f3f3eb555af0d5c2bd7eab50f20158194178ce7 (diff)
downloadpkgsrc-91c36591ba1faa179af31e1b4368df597b556eb8.tar.gz
Use the correct audio device via ossaudio.buildlink3.mk, pointed
out by Peter Schuller. Bump PKGREVISION.
-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"