Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: Disable OpenGL when native X11 do...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94ec6a2d3e6a
branches: trunk
changeset: 434833:94ec6a2d3e6a
user: nia <nia%pkgsrc.org@localhost>
date: Mon Jun 22 12:13:20 2020 +0000
description:
qemu: Disable OpenGL when native X11 doesn't have EGL
diffstat:
emulators/qemu/options.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 17dd41e91d11 -r 94ec6a2d3e6a emulators/qemu/options.mk
--- a/emulators/qemu/options.mk Mon Jun 22 11:56:56 2020 +0000
+++ b/emulators/qemu/options.mk Mon Jun 22 12:13:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2020/05/28 14:44:19 nia Exp $
+# $NetBSD: options.mk,v 1.11 2020/06/22 12:13:20 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qemu
PKG_SUPPORTED_OPTIONS= gtk3 iscsi sdl spice
@@ -11,8 +11,15 @@
.endif
.if ${OPSYS} != "Darwin"
+# NetBSD<9.0 does not have EGL support in native X11,
+# so the QEMU OpenGL display driver cannot build.
+. include "../../graphics/MesaLib/features.mk"
+. if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss])
PKG_SUPPORTED_OPTIONS+= opengl
PKG_SUGGESTED_OPTIONS+= opengl sdl
+. else
+PKG_SUGGESTED_OPTIONS+= sdl
+. endif
.endif
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index