Replace default sound device file with ${DEVOSSSOUND}.

Fixes PR 39151.

Bump PKGREVISION.
This commit is contained in:
obache 2008-07-18 13:43:26 +00:00
parent b062f9241d
commit 87b477fade

View file

@ -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"