From 4b89d007ec8f092429d9c69fa7a1de89b29525c0 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 1 Dec 2021 19:35:13 +0000
Subject: media-libs/osl: drop tests CMake option

We're not running them for now & they're broken anyway.

(Not sure how I didn't notice this earlier?!)

Closes: https://bugs.gentoo.org/827949
Signed-off-by: Sam James <sam@gentoo.org>
---
 media-libs/osl/osl-1.11.16.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'media-libs/osl')

diff --git a/media-libs/osl/osl-1.11.16.0.ebuild b/media-libs/osl/osl-1.11.16.0.ebuild
index fca8230620e4..210576bec26a 100644
--- a/media-libs/osl/osl-1.11.16.0.ebuild
+++ b/media-libs/osl/osl-1.11.16.0.ebuild
@@ -91,7 +91,8 @@ src_configure() {
 		-DUSE_CCACHE=OFF
 		-DLLVM_STATIC=OFF
 		-DLLVM_ROOT="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
-		-DOSL_BUILD_TESTS=$(usex test)
+		# Breaks build for now: bug #827949
+		#-DOSL_BUILD_TESTS=$(usex test)
 		-DOSL_SHADER_INSTALL_DIR="${EPREFIX}/usr/include/${PN^^}/shaders"
 		-DOSL_PTX_INSTALL_DIR="${EPREFIX}/usr/include/${PN^^}/ptx"
 		-DSTOP_ON_WARNING=OFF
-- 
cgit v1.2.3-65-gdbad