This enables various DRI3-related bits in xenocara.  Matthieu warns me
that this will make the Mesa libraries depend on libxshmfence wich
he thinks will lead to WANTLIB churn in ports...

Is that going to be a problem?

Index: lib/Makefile
===================================================================
RCS file: /cvs/xenocara/lib/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- lib/Makefile        20 May 2018 09:40:53 -0000      1.35
+++ lib/Makefile        20 Jun 2018 19:09:12 -0000
@@ -44,7 +44,7 @@ SUBDIR= freetype fontconfig libxtrans li
        libXi libXinerama libxkbfile libxkbui  \
        libXrandr libXRes libXScrnSaver \
        libXtst libXv libXvMC libXxf86dga libXxf86vm \
-       libpciaccess pixman
+       libpciaccess libxshmfence pixman
 
 .if ${XENOCARA_BUILD_GL:L} == "yes"
 SUBDIR+= libdrm
Index: lib/mesa/Makefile.bsd-wrapper
===================================================================
RCS file: /cvs/xenocara/lib/mesa/Makefile.bsd-wrapper,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile.bsd-wrapper
--- lib/mesa/Makefile.bsd-wrapper       21 Feb 2018 06:01:53 -0000      1.17
+++ lib/mesa/Makefile.bsd-wrapper       20 Jun 2018 19:09:14 -0000
@@ -30,6 +30,7 @@ CONFIGURE_ARGS=               --with-dri-drivers=${DR
                        --enable-osmesa \
                        --enable-gbm \
                        --enable-texture-float \
+                       --enable-dri3 \
                        --with-egl-platforms="x11,drm" \
                        --prefix=${X11BASE} \
                        --with-dri-driverdir=${X11BASE}/lib/modules/dri \
Index: proto/Makefile
===================================================================
RCS file: /cvs/xenocara/proto/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- proto/Makefile      20 May 2018 09:40:53 -0000      1.14
+++ proto/Makefile      20 Jun 2018 19:09:16 -0000
@@ -11,7 +11,7 @@ SUBDIR= bigreqsproto compositeproto dmxp
        xf86vidmodeproto
 
 .if ${XENOCARA_BUILD_DRI:L} == "yes"
-SUBDIR+= xf86driproto dri2proto
+SUBDIR+= xf86driproto dri2proto dri3proto
 .endif
 
 .include <bsd.subdir.mk>

Reply via email to