pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2021Q1]: pkgsrc/emulators/qemu51 Pullup ticket #6439 - request...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7e80bc45a5f
branches:  pkgsrc-2021Q1
changeset: 450073:e7e80bc45a5f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Apr 10 08:43:28 2021 +0000

description:
Pullup ticket #6439 - requested by nia
emulators/qemu51: bugfix

Revisions pulled up:
- emulators/qemu51/Makefile                                     1.2

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Thu Apr  8 13:29:42 UTC 2021

   Modified Files:
        pkgsrc/emulators/qemu51: Makefile

   Log Message:
   qemu51: correct path to OSS audio device

diffstat:

 emulators/qemu51/Makefile |  18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r aaaf81ce806d -r e7e80bc45a5f emulators/qemu51/Makefile
--- a/emulators/qemu51/Makefile Sat Apr 10 08:43:22 2021 +0000
+++ b/emulators/qemu51/Makefile Sat Apr 10 08:43:28 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2021/02/20 22:55:19 ryoon Exp $
+# $NetBSD: Makefile,v 1.1.2.1 2021/04/10 08:43:28 bsiegert Exp $
 
 DISTNAME=      qemu-5.1.0
-PKGREVISION=   13
+PKGREVISION=   14
 CATEGORIES=    emulators
 MASTER_SITES=  https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz
@@ -93,6 +93,16 @@
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1 share/doc/qemu
 
+.include "../../mk/oss.buildlink3.mk"
+
+.if ${OSS_TYPE} != "none"
+SUBST_CLASSES+=                oss
+SUBST_STAGE.oss=       pre-configure
+SUBST_MESSAGE.oss=     Correcting the path to the OSS device.
+SUBST_FILES.oss+=      audio/ossaudio.c
+SUBST_SED.oss+=                -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+.endif
+
 UE_ARCHS+=             aarch64 aarch64_be
 UE_ARCHS+=             alpha arm armeb cris
 UE_ARCHS+=             hppa
@@ -160,10 +170,6 @@
        cd ${DESTDIR}${PREFIX} && \
        ${FIND} share/doc/qemu -path '*/_static/*' -type f -print > ${WRKDIR}/PLIST.STATIC
 
-# On Darwin, qemu uses CoreAudio
-.if ${OPSYS} != "Darwin"
-.include "../../mk/oss.buildlink3.mk"
-.endif
 .include "../../archivers/lzo/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/jemalloc/buildlink3.mk"



Home | Main Index | Thread Index | Old Index