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:   nia
Date:           Mon Jun 22 12:13:20 UTC 2020

Modified Files:
        pkgsrc/emulators/qemu: options.mk

Log Message:
qemu: Disable OpenGL when native X11 doesn't have EGL


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/emulators/qemu/options.mk

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/options.mk
diff -u pkgsrc/emulators/qemu/options.mk:1.10 pkgsrc/emulators/qemu/options.mk:1.11
--- pkgsrc/emulators/qemu/options.mk:1.10       Thu May 28 14:44:19 2020
+++ pkgsrc/emulators/qemu/options.mk    Mon Jun 22 12:13:20 2020
@@ -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 @@ PKG_SUPPORTED_OPTIONS+=      virtfs-proxy-hel
 .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