pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xf86-video-vmware



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Jul 10 03:18:20 UTC 2023

Modified Files:
        pkgsrc/x11/xf86-video-vmware: options.mk

Log Message:
x11/xf86-video-vmware: Use MESALIB_SUPPORTS_XA to determine if xatracker is available


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/xf86-video-vmware/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/x11/xf86-video-vmware/options.mk
diff -u pkgsrc/x11/xf86-video-vmware/options.mk:1.1 pkgsrc/x11/xf86-video-vmware/options.mk:1.2
--- pkgsrc/x11/xf86-video-vmware/options.mk:1.1 Sun Jul  9 16:49:33 2023
+++ pkgsrc/x11/xf86-video-vmware/options.mk     Mon Jul 10 03:18:20 2023
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2023/07/09 16:49:33 pho Exp $
+# $NetBSD: options.mk,v 1.2 2023/07/10 03:18:20 pho Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.xf86-video-vmware
 PKG_SUPPORTED_OPTIONS= xatracker
 PKG_SUGGESTED_OPTIONS= # empty
 
 .include "../../mk/bsd.prefs.mk"
+.include "../../graphics/MesaLib/features.mk"
 
 # libudev is a Systemd thing, which only makes sense on Linux.
 .if ${OPSYS} == "Linux"
@@ -12,9 +13,9 @@ PKG_SUPPORTED_OPTIONS+=       udev
 PKG_SUGGESTED_OPTIONS+=        udev
 .endif
 
-# xatracker is optionally provided by MesaLib. If X11 is a modular one
-# we're sure it's available. Otherwise we don't know.
-.if ${X11_TYPE} == "modular"
+# xatracker is optionally provided by MesaLib. It's required for DRM/KMS
+# and 3D acceleration.
+.if ${MESALIB_SUPPORTS_XA} == "yes"
 PKG_SUGGESTED_OPTIONS+=        xatracker
 .endif
 



Home | Main Index | Thread Index | Old Index