1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/mesa-devel: unbreak build with llvm18

Installing spirv-llvm-translator-llvm18-18.1.0...
===>   mesa-devel-24.0.b.3778 depends on shared library: libLLVMSPIRVLib.so.18 - not found
*** Error code 1
This commit is contained in:
Jan Beich 2024-03-28 10:22:13 +01:00
parent 56574c37ba
commit 23739fa6ca

View File

@ -112,8 +112,9 @@ OPENCL_BUILD_DEPENDS= bindgen:devel/rust-bindgen-cli \
libclc>0:devel/libclc \
spirv-tools>0:graphics/spirv-tools \
rustc:lang/${RUST_DEFAULT}
OPENCL_LIB_DEPENDS= libLLVMSPIRVLib.so.${LLVM_VERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T}
OPENCL_LIB_DEPENDS= libLLVMSPIRVLib.so.${OPENCL_SOVERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T}
OPENCL_RUN_DEPENDS= libclc>0:devel/libclc
OPENCL_SOVERSION= ${LLVM_VERSION}${${LLVM_VERSION}>=18:?.1:}
OPENCL_CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
OPENCL_MESON_FALSE= b_lundef # environ
OPENCL_MESON_TRUE= gallium-rusticl