aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2023-01-15 07:32:27 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2023-01-15 07:32:27 +0000
commit90c843a59db4941881ff164f6f4af2641e6e8bcf (patch)
tree39280a32e90d7e16b27b6e8b481b0e687d668949
parent0a915d5aa7f702bc21b128ceabee9fbe9d609d28 (diff)
downloadports-90c843a59db4941881ff164f6f4af2641e6e8bcf.tar.gz
ports-90c843a59db4941881ff164f6f4af2641e6e8bcf.zip
graphics/blender-lts29: remove outdated LLVM_VER handling
-rw-r--r--graphics/blender-lts29/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/graphics/blender-lts29/Makefile b/graphics/blender-lts29/Makefile
index b91cfa674791..4be5663454d1 100644
--- a/graphics/blender-lts29/Makefile
+++ b/graphics/blender-lts29/Makefile
@@ -88,11 +88,11 @@ CYCLESEMBR_ONLY_FOR_ARCHS_REASON= embree only supports amd64
CYCLESOSL_IMPLIES= CYCLES
CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM
CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \
- -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \
+ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}" \
-DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders"
-CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
+CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage
-CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
+CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
DDS_CMAKE_BOOL= WITH_IMAGE_DDS
DRACO_CMAKE_BOOL= WITH_DRACO
DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR}
@@ -188,12 +188,6 @@ CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON
CMAKE_ARGS+= -DWITH_CPU_SIMD:BOOL=OFF
.endif
-.if ${LLVM_DEFAULT:M[678]0}
-LLVM_VER= 90
-.else
-LLVM_VER= ${LLVM_DEFAULT}
-.endif
-
post-build:
@(cd ${WRKSRC}/doc/manpage && \
${PYTHON_CMD} blender.1.py \