$NetBSD$

--- tests/util/CMakeLists.txt.orig	2017-02-27 02:30:50.000000000 +0000
+++ tests/util/CMakeLists.txt
@@ -119,7 +119,7 @@ else()
 	)
 endif()
 
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+#if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
 	# One needs to have at least one hardware driver present, otherwise
 	# there is no point compiling just the dispatcher.
 	if(PIGLIT_BUILD_DMA_BUF_TESTS)
@@ -158,6 +158,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
 		list(APPEND UTIL_GL_LIBS ${WAYLAND_LIBRARIES})
         endif()
 
-endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+#endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
 
 piglit_include_target_api()
