On Sun Nov 14, 2021 at 04:24:27PM +0100, Christian Weisgerber wrote:
> It appears the presence of Wayland causes some bulk build issues.
> Most likely, Wayland is picked up during the configure step and
> used during the build, but since there is no proper *_DEPENDS, it
> is junked in the background.  So the choice would be between disabling
> Wayland support or adding a proper dependency.
> 
> Compressed graphics/piglit log attached.
> 

isable wayland; Not looking for it.

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/piglit/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile    2 Nov 2021 00:01:16 -0000       1.17
+++ Makefile    14 Nov 2021 16:01:35 -0000
@@ -8,7 +8,7 @@ DISTNAME =      piglit-20210128
 GH_ACCOUNT =   mesa3d
 GH_PROJECT =   piglit
 GH_COMMIT =    83173d9536c9f5e1571efe5933d210466ec255b8
-REVISION =     1
+REVISION =     2
 
 CATEGORIES =   graphics
 
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/graphics/piglit/patches/patch-CMakeLists_txt,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt        31 Jan 2021 03:19:35 -0000      1.3
+++ patches/patch-CMakeLists_txt        14 Nov 2021 16:01:35 -0000
@@ -33,6 +33,15 @@ Index: CMakeLists.txt
        if(X11_FOUND AND OPENGL_gl_LIBRARY)
                # Assume the system has GLX. In the future, systems may exist
                # with libGL and libX11 but no GLX, but that world hasn't
+@@ -150,7 +150,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+               endif()
+       endif(GBM_FOUND)
+ 
+-      pkg_check_modules(WAYLAND QUIET wayland-client)
++      #pkg_check_modules(WAYLAND QUIET wayland-client)
+       if (WAYLAND_FOUND)
+               set(PIGLIT_HAS_WAYLAND True)
+               add_definitions(-DPIGLIT_HAS_WAYLAND)
 @@ -169,6 +169,11 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
        pkg_check_modules(XCB_DRI2 QUIET xcb-dri2)
        pkg_check_modules(GLPROTO QUIET glproto)

Reply via email to