summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-05-23 15:46:12 +0000
committerleot <leot@pkgsrc.org>2020-05-23 15:46:12 +0000
commit2e3ef76b8da60eafe3c6c1fd7f5df8e80bd0a8d6 (patch)
tree8351f3077649a7fa2f6b5a8268b46e779ddfc56c /emulators/qemu
parentcd1b639a093eb7ef288e39813d69eca973d47e88 (diff)
downloadpkgsrc-2e3ef76b8da60eafe3c6c1fd7f5df8e80bd0a8d6.tar.gz
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 (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/Makefile8
-rw-r--r--emulators/qemu/distinfo4
-rw-r--r--emulators/qemu/patches/patch-configure4
3 files changed, 5 insertions, 11 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index fd86f4752a1..d24fdecf9cb 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -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 @@ PKGSRC_USE_SSP= no
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 --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index c722b9e7148..eba901a292e 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -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_Makefile.objs) = 92266dc400ac1e97013f7f19ee4b7a63b42c7fc
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 --git a/emulators/qemu/patches/patch-configure b/emulators/qemu/patches/patch-configure
index a8904957a7b..c4ae836e738 100644
--- a/emulators/qemu/patches/patch-configure
+++ b/emulators/qemu/patches/patch-configure
@@ -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 @@ Fix jemalloc detection.
NetBSD)
bsd="yes"
hax="yes"
-+ nvmm="yes"
++ nvmm=""
make="${MAKE-gmake}"
audio_drv_list="oss try-sdl"
audio_possible_drivers="oss sdl"