pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/MesaLib



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May  3 11:04:46 UTC 2020

Modified Files:
        pkgsrc/graphics/MesaLib: Makefile

Log Message:
MesaLib: Explicitly disable dri3 support when using an old X11_TYPE=native

Should help NetBSD 8 builds.


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 pkgsrc/graphics/MesaLib/Makefile

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

Modified files:

Index: pkgsrc/graphics/MesaLib/Makefile
diff -u pkgsrc/graphics/MesaLib/Makefile:1.193 pkgsrc/graphics/MesaLib/Makefile:1.194
--- pkgsrc/graphics/MesaLib/Makefile:1.193      Sat May  2 12:13:43 2020
+++ pkgsrc/graphics/MesaLib/Makefile    Sun May  3 11:04:46 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.193 2020/05/02 12:13:43 tnn Exp $
+# $NetBSD: Makefile,v 1.194 2020/05/03 11:04:46 nia Exp $
 
 DISTNAME=      mesa-20.0.6
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -52,6 +52,9 @@ MESA_PLATFORMS+=      drm surfaceless
 MESON_ARGS+=           -Degl=true
 MESON_ARGS+=           -Dgbm=true
 MESON_ARGS+=           -Dgallium-xa=true
+.  if ${X11_TYPE} == "native" && !exists(${X11BASE}/include/xcb/dri3.h)
+MESON_ARGS+=           -Ddri3=false
+.  endif
 PLIST.kms=             yes
 .  if !empty(MACHINE_ARCH:M*arm*) || \
       ${MACHINE_ARCH} == "aarch64"



Home | Main Index | Thread Index | Old Index