git: ba6b714d44d7 - main - graphics/openshadinglanguage: remove outdated LLVM_VER handling
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Jan 2023 07:39:27 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba6b714d44d7ae1b7750101dba86df6b2aef76d2 commit ba6b714d44d7ae1b7750101dba86df6b2aef76d2 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-01-15 07:33:17 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-01-15 07:33:17 +0000 graphics/openshadinglanguage: remove outdated LLVM_VER handling --- graphics/openshadinglanguage/Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/graphics/openshadinglanguage/Makefile b/graphics/openshadinglanguage/Makefile index 449269545d5b..c91f2a2db04f 100644 --- a/graphics/openshadinglanguage/Makefile +++ b/graphics/openshadinglanguage/Makefile @@ -16,13 +16,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_FreeBSD_12_powerpc64= fails to compile: llvm_ops.cpp:101:10: fatal error: 'iostream' file not found BROKEN_riscv64= fails to build: /usr/include/c++/v1/__threading_support:135:3: Unsupported architecture -BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} +BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libOpenImageIO.so:graphics/openimageio \ libpugixml.so:textproc/pugixml -RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} +RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} USES= bison cmake compiler:c++14-lang localbase ncurses qt:5 @@ -34,7 +34,7 @@ GH_PROJECT= OpenShadingLanguage CMAKE_ON= ENABLERTTI OSL_BUILD_TESTS USE_LLVM_BITCODE USE_LIBCPLUSPLUS CMAKE_OFF= USE_BOOST_WAVE -CMAKE_ARGS+= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \ +CMAKE_ARGS+= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}" \ -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} -DCMAKE_CXX_STANDARD=14 OPTIONS_DEFINE= OSLTOY @@ -52,12 +52,6 @@ PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} .include <bsd.port.options.mk> -.if ${LLVM_DEFAULT:M[678]0} -LLVM_VER= 90 -.else -LLVM_VER= ${LLVM_DEFAULT} -.endif - post-patch: @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ -e 's,%%PYCMD%%,${PYTHON_CMD},' \