On Wed, Dec 30, 2020 at 05:03:03PM +0100, Fabian Raetz wrote: > Hi ports, > > after installing a fresh copy of OpenBSD, Blender did not start because of > a missing dependency of libgmpxx.so.3.0. After manually installing gmpxx, > Blender started. > > Thanks for the update to 2.91 :D > > Cheers, > Fabian Hi Fabian, thanks for the alert. The diff below adds gmp,-cxx to LIB_DEPENDS and some other changes.
I've restricted the port to amd64 arch and allowed SSE as expected at minimum. https://www.blender.org/download/requirements/ Libraries required directly libsndfile,sdl2,opencolorio and openexr are now part of LIB_DEPENDS in alpha order. gflags is not required by the build. Also I've removed certain cmake options which are set automatically and some (RAYOPTIMIZATION) which don't exist anymore. Build,run tested on amd64. Any comments/OK's? Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/blender/Makefile,v retrieving revision 1.99 diff -u -p -r1.99 Makefile --- Makefile 29 Nov 2020 19:57:01 -0000 1.99 +++ Makefile 30 Dec 2020 19:40:06 -0000 @@ -1,6 +1,6 @@ # $OpenBSD: Makefile,v 1.99 2020/11/29 19:57:01 sthen Exp $ -ONLY_FOR_ARCHS = amd64 i386 +ONLY_FOR_ARCHS = amd64 COMMENT = 3D creation software @@ -21,9 +21,9 @@ WANTLIB += IlmThread-2_5 Imath-2_5 OpenC WANTLIB += X11 Xfixes Xi Xrender Xxf86vm avcodec avdevice avformat WANTLIB += avutil boost_atomic-mt boost_chrono-mt boost_date_time-mt WANTLIB += boost_filesystem-mt boost_regex-mt boost_system-mt -WANTLIB += boost_thread-mt c fftw3 freetype jpeg m openal openjp2 -WANTLIB += png potrace sndfile swscale tbb tiff tinyxml util yaml-cpp -WANTLIB += z +WANTLIB += boost_thread-mt c fftw3 freetype gmp gmpxx jpeg m openal +WANTLIB += openjp2 png potrace sndfile swscale tbb tiff tinyxml +WANTLIB += util yaml-cpp z MASTER_SITES = https://download.blender.org/source/ \ http://mirror.cs.umn.edu/blender.org/source/ @@ -39,30 +39,29 @@ MODPY_VERSION = ${MODPY_DEFAULT_VERSION_ CONFIGURE_ARGS = -DPYTHON_INCLUDE_DIR="${MODPY_INCDIR}" \ -DPYTHON_VERSION=${MODPY_VERSION} \ - -DWITH_CODEC_FFMPEG=ON \ -DWITH_INTERNATIONAL=OFF \ - -DWITH_RAYOPTIMIZATION=OFF \ - -DWITH_OPENCOLORIO=ON \ -DWITH_OPENMP=OFF \ -DWITH_SYSTEM_GLEW=ON \ - -DWITH_CPU_SSE=OFF \ -DWITH_CYCLES_EMBREE=OFF \ -DWITH_JACK=OFF -BUILD_DEPENDS = devel/gflags \ - math/py-numpy${MODPY_FLAVOR} -LIB_DEPENDS = graphics/png \ - graphics/jpeg \ - graphics/glew \ - graphics/openexr \ - graphics/tiff \ +BUILD_DEPENDS = math/py-numpy${MODPY_FLAVOR} +LIB_DEPENDS = audio/libsndfile \ + audio/openal \ devel/boost \ + devel/gmp,-cxx \ + devel/sdl2 \ devel/tbb \ - audio/openal \ - graphics/openjp2 \ graphics/ffmpeg \ + graphics/glew \ + graphics/jpeg \ + graphics/opencolorio \ + graphics/openexr \ graphics/openimageio \ + graphics/openjp2 \ + graphics/png \ graphics/potrace \ + graphics/tiff \ math/fftw3 \ ${MODPY_LIB_DEPENDS} RUN_DEPENDS = devel/desktop-file-utils \