Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: Explicitly disable dri3 supp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/644c2b9f0dd9
branches:  trunk
changeset: 430689:644c2b9f0dd9
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 03 11:04:46 2020 +0000

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

Should help NetBSD 8 builds.

diffstat:

 graphics/MesaLib/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r bb7842dbbc63 -r 644c2b9f0dd9 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Sun May 03 10:57:06 2020 +0000
+++ b/graphics/MesaLib/Makefile Sun May 03 11:04:46 2020 +0000
@@ -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 @@
 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