pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   kamil
Date:           Fri Mar  6 09:19:43 UTC 2020

Modified Files:
        pkgsrc/emulators/qemu: Makefile

Log Message:
qemu: Conditionalize NVMM for NetBSD

Build NVMM support whenever there is /usr/include/nvmm.h available.


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 pkgsrc/emulators/qemu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.232 pkgsrc/emulators/qemu/Makefile:1.233
--- pkgsrc/emulators/qemu/Makefile:1.232        Fri Feb  7 08:39:19 2020
+++ pkgsrc/emulators/qemu/Makefile      Fri Mar  6 09:19:43 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.232 2020/02/07 08:39:19 kamil Exp $
+# $NetBSD: Makefile,v 1.233 2020/03/06 09:19:43 kamil Exp $
 
 DISTNAME=      qemu-4.2.0
 PKGREVISION=   9
@@ -58,6 +58,12 @@ 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



Home | Main Index | Thread Index | Old Index