From bbf9ac41c03749236724bd357da79ee0af564f9b Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 18 Jul 2008 13:43:26 +0000 Subject: Replace default sound device file with ${DEVOSSSOUND}. Fixes PR 39151. Bump PKGREVISION. --- audio/openal/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'audio/openal') 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" -- cgit v1.2.3