summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/openal/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 63c48463d5f..615b5b9a5fa 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2008/06/20 01:09:07 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/07/18 13:43:26 obache Exp $
DISTNAME= openal-0.0.8
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.openal.org/openal_webstf/downloads/
@@ -22,6 +22,11 @@ INSTALLATION_DIRS= ${PKGINFODIR} include/AL
PKGCONFIG_OVERRIDE= admin/pkgconfig/openal.pc.in
LIBS+= ${LIBOSSAUDIO}
+SUBST_CLASSES+= fixdev
+SUBST_STAGE.fixdev= post-configure
+SUBST_FILES.fixdev= src/backends/alc_backend_bsd.c
+SUBST_SED.fixdev= -e 's;/dev/dsp;${DEVOSSSOUND};g'
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"