diff options
author | nia <nia@pkgsrc.org> | 2020-05-03 11:04:46 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-05-03 11:04:46 +0000 |
commit | 3e7ec559dfd62b4a6d3f585b79564ac64ae3b868 (patch) | |
tree | 9543b3821e2908c3a3d6694273f386489b5b2925 /graphics | |
parent | 731093448925d6bfc3b1d7ae5fa0533245022c5d (diff) | |
download | pkgsrc-3e7ec559dfd62b4a6d3f585b79564ac64ae3b868.tar.gz |
MesaLib: Explicitly disable dri3 support when using an old X11_TYPE=native
Should help NetBSD 8 builds.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index 68a1bb69580..516f06fa90f 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -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" |