From: Andrew Hewus Fresh Subject: Link graphics/blender to cad/manifold and cad/Clipper2 (was Re: [NEW] cad/manifold 3.2.1 (cad/openscad dependency 2/4)) To: Stuart Henderson Cc: ports@openbsd.org Date: Sat, 8 Nov 2025 10:31:35 -0800 On Fri, Nov 07, 2025 at 10:43:50PM +0000, Stuart Henderson wrote: > if blender works with it, using the separate port as a LIB_DEPENDS makes > more sense. blender does seem to run and even though I don't know haw to use it, I was able to make changes to the sphere it gave me on startup. However, `portcheck` already says: > the following libraries in WANTLIB look like masked by RUN_DEPENDS: atomic and `make lib-depends-check` complains (after manually adding Clipper2 to WANTLIB because `make port-lib-depends-check didn't think it was needed either) > blender-4.5.3p1(graphics/blender): > Extra: Clipper2.0 Even though: $ ldd /usr/ports/pobj/blender-4.5.3/fake-amd64/usr/local/bin/blender-bin | grep -e Clipper -e manifold 00000ad75d061000 00000ad75d120000 rlib 0 1 0 /usr/local/lib/libmanifold.so.0.0 00000ad7f6e96000 00000ad7f6ebe000 rlib 0 1 0 /usr/local/lib/libClipper2.so.0.0 Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/blender/Makefile,v diff -u -p -r1.144 Makefile --- Makefile 3 Nov 2025 11:01:27 -0000 1.144 +++ Makefile 8 Nov 2025 18:20:17 -0000 @@ -9,6 +9,7 @@ COMMENT = 3D creation software VERSION = 4.5.3 V = ${VERSION:R} DISTNAME = blender-${VERSION} +REVISION = 1 CATEGORIES = graphics @@ -17,15 +18,15 @@ HOMEPAGE = https://www.blender.org/ # GPLv2+ PERMIT_PACKAGE = Yes -WANTLIB += ${COMPILER_LIBCXX} Alembic Iex-3_4 IlmThread-3_4 Imath-3_2 +WANTLIB += ${COMPILER_LIBCXX} Alembic Clipper2 Iex-3_4 IlmThread-3_4 Imath-3_2 WANTLIB += OpenColorIO OpenEXR-3_4 OpenEXRCore-3_4 OpenImageIO WANTLIB += OpenImageIO_Util X11 Xfixes Xi Xrender atomic avcodec WANTLIB += avdevice avfilter avformat avutil c epoxy execinfo WANTLIB += fftw3 fftw3f fftw3f_threads freetype gmp gmpxx hpdf -WANTLIB += jpeg m openal openjp2 openvdb osdCPU osdGPU pipewire-0.3 -WANTLIB += png potrace pugixml ${MODPY_WANTLIB} shaderc_shared sharpyuv -WANTLIB += sndfile swresample swscale tbb tiff util vulkan webp -WANTLIB += webpdemux webpmux z zstd +WANTLIB += jpeg m manifold openal openjp2 openvdb osdCPU osdGPU +WANTLIB += pipewire-0.3 png potrace pugixml python3.12 shaderc_shared +WANTLIB += sharpyuv sndfile swresample swscale tbb tiff util vulkan +WANTLIB += webp webpdemux webpmux z zstd SITES = https://download.blender.org/source/ \ @@ -70,6 +71,8 @@ BUILD_DEPENDS += archivers/woff2>=1.0.2p LIB_DEPENDS = archivers/zstd \ audio/libsndfile \ audio/openal \ + cad/clipper2 \ + cad/manifold \ devel/gmp,-cxx \ devel/tbb \ graphics/alembic \