Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: Do not duplicate already existing...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ef2bc451127
branches:  trunk
changeset: 432618:9ef2bc451127
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat May 23 15:46:12 2020 +0000

description:
qemu: Do not duplicate already existing configure nvmm test in pkgsrc Makefile

configure already had the logic to gracefully test for nvmm and if the
corresponding nvmm variable is set to an empty string do that.

No functional nor binary change intended except a CONFIGURE_ARGS difference.

Fixes PR pkg/55049.

Thanks Yasushi Oshima for reporting this problem, sharing an initial
patch and further testing the version committed now!

diffstat:

 emulators/qemu/Makefile                |  8 +-------
 emulators/qemu/distinfo                |  4 ++--
 emulators/qemu/patches/patch-configure |  4 ++--
 3 files changed, 5 insertions(+), 11 deletions(-)

diffs (58 lines):

diff -r f420c36aa066 -r 9ef2bc451127 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Sat May 23 15:30:27 2020 +0000
+++ b/emulators/qemu/Makefile   Sat May 23 15:46:12 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.242 2020/05/22 10:56:05 adam Exp $
+# $NetBSD: Makefile,v 1.243 2020/05/23 15:46:12 leot Exp $
 
 DISTNAME=      qemu-5.0.0
 PKGREVISION=   3
@@ -52,12 +52,6 @@
 CONFIGURE_ARGS+=       --enable-stack-protector
 .endif
 
-.if ${OPSYS} == "NetBSD" && exists(/usr/include/nvmm.h)
-CONFIGURE_ARGS+=       --enable-nvmm
-.else
-CONFIGURE_ARGS+=       --disable-nvmm
-.endif
-
 NOT_PAX_MPROTECT_SAFE+=        bin/qemu-system-aarch64
 NOT_PAX_MPROTECT_SAFE+=        bin/qemu-system-alpha
 NOT_PAX_MPROTECT_SAFE+=        bin/qemu-system-arm
diff -r f420c36aa066 -r 9ef2bc451127 emulators/qemu/distinfo
--- a/emulators/qemu/distinfo   Sat May 23 15:30:27 2020 +0000
+++ b/emulators/qemu/distinfo   Sat May 23 15:46:12 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.159 2020/05/10 11:33:23 skrll Exp $
+$NetBSD: distinfo,v 1.160 2020/05/23 15:46:12 leot Exp $
 
 SHA1 (qemu-5.0.0.tar.xz) = 52d1c0e6025a212d4fde471e4d9b5913f2615f86
 RMD160 (qemu-5.0.0.tar.xz) = 58a704960cd712cf6c218216e8426a05948f6526
@@ -9,7 +9,7 @@
 SHA1 (patch-accel_stubs_nvmm-stub.c) = d66d47eabb8bb6728e777da7589b43d491adbcc8
 SHA1 (patch-accel_tcg_user-exec.c) = ec5f3882c78763b4072daa41fd67e55da291c065
 SHA1 (patch-capstone_Makefile) = f59870031de8c4385a591362749ec82f57fd4c27
-SHA1 (patch-configure) = 993ed55b8e63c3022c5afc3dbc3f0eacbebdd61b
+SHA1 (patch-configure) = ada3ddba78c4eacf2591e47d27d26bf3886e8d73
 SHA1 (patch-contrib_ivshmem-client_ivshmem-client.c) = 40c8751607cbf66a37e4c4e08f2664b864e2e984
 SHA1 (patch-contrib_ivshmem-server_ivshmem-server.c) = d8f53432b5752f4263dc4ef96108a976a05147a3
 SHA1 (patch-cpus.c) = a319b7533daf3036c44411c4b26270b1fbb96009
diff -r f420c36aa066 -r 9ef2bc451127 emulators/qemu/patches/patch-configure
--- a/emulators/qemu/patches/patch-configure    Sat May 23 15:30:27 2020 +0000
+++ b/emulators/qemu/patches/patch-configure    Sat May 23 15:46:12 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.27 2020/04/30 17:16:04 adam Exp $
+$NetBSD: patch-configure,v 1.28 2020/05/23 15:46:12 leot Exp $
 
 Add NVMM support.
 Fix jemalloc detection.
@@ -43,7 +43,7 @@
  NetBSD)
    bsd="yes"
    hax="yes"
-+  nvmm="yes"
++  nvmm=""
    make="${MAKE-gmake}"
    audio_drv_list="oss try-sdl"
    audio_possible_drivers="oss sdl"



Home | Main Index | Thread Index | Old Index