pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/openal Replace default sound device file with ${...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e79cf3116491
branches:  trunk
changeset: 544723:e79cf3116491
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Jul 18 13:43:26 2008 +0000

description:
Replace default sound device file with ${DEVOSSSOUND}.
Fixes PR 39151.

Bump PKGREVISION.

diffstat:

 audio/openal/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 731072bd515d -r e79cf3116491 audio/openal/Makefile
--- a/audio/openal/Makefile     Fri Jul 18 13:09:15 2008 +0000
+++ b/audio/openal/Makefile     Fri Jul 18 13:43:26 2008 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index