Created attachment 251163 [details] v1 Tested build in poudriere (testport) 13.3 amd64, i386 and on live system 13.3 amd64. - Remove unnecessary libs from USE_GL and add used. - Fix build on 32bit ARCHS, upstream issue: https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1198#issuecomment-2143940211 - Make options PTEX and OPENMP (for supported ARCHS) default. - EXAMPLES and OPENCL can build together without errors. - Remove NO_GL_TESTS - upstream removed it. - Sort options and pet portclippy.
Comment on attachment 251163 [details] v1 looks ok
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f251a78efa6eb44e9d97fd520247d3494754f7c8 commit f251a78efa6eb44e9d97fd520247d3494754f7c8 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-06-03 10:46:50 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-06-03 10:46:50 +0000 graphics/opensubdiv: sort out Makefile, pet portclippy, fix build on 32bit - Remove unnecessary libs from USE_GL and add required. - Fix build on 32bit ARCHS, upstream issue: https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1198#issuecomment-2143940211 - Make options OPENMP (for supported ARCHS) and PTEX default. - EXAMPLES and OPENCL can build together without errors. - Remove NO_GL_TESTS - upstream removed it. - Sort options and pet portclippy. PR: 279472 Approved by: Shane <FreeBSD@ShaneWare.Biz> (maintainer) graphics/opensubdiv/Makefile | 51 +++++++++++----------- .../files/patch-examples_CMakeLists.txt (gone) | 12 ----- .../files/patch-opensubdiv_hbr_mesh.h (new) | 11 +++++ .../files/patch-opensubdiv_osd_CMakeLists.txt | 8 ++-- .../files/patch-regression_CMakeLists.txt (gone) | 22 ---------- .../files/patch-tutorials_CMakeLists.txt (gone) | 12 ----- graphics/opensubdiv/pkg-plist | 20 ++++----- 7 files changed, 51 insertions(+), 85 deletions(-)