Created attachment 271585 [details] Upgrade OCCT to v8.0.0 - Release notes at https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V8_0_0 - Switch to ffmpeg6. Remark: this upgrade introduce several breaking changes.
A few things to make the port Makefile more consistent with Porters Handbook, tree and easier to follow BUILD_DEPENDS Use helpers for buildtools and qmake QT5 buildtools can use the framework helper USE_QT= buildtools:build https://cgit.freebsd.org/ports/tree/Mk/Uses/qt.mk#n14 https://docs.freebsd.org/en/books/porters-handbook/book/#using-qt (Table 22) QT qmake can use USES= qmake:no_configure,no_env https://docs.freebsd.org/en/books/porters-handbook/book/#using-qmake First line with CMAKE_ARGS+= should be CMAKE_ARGS= All arguments with BOOL=ON can use CMAKE_ON https://docs.freebsd.org/en/books/porters-handbook/book/#using-cmake pre-everything section can be removed, inaccurate, unnecessary noise and not consistent with tree. Variables between L52 to L93 (current version in tree) should be placed before OPTIONS_ variables are being defined https://cgit.freebsd.org/ports/tree/cad/opencascade/Makefile#n52 https://cgit.freebsd.org/ports/tree/cad/opencascade/Makefile#n93 https://docs.freebsd.org/en/books/porters-handbook/book/#porting-order OPT_CMAKE_BOOL can be used for menu options https://docs.freebsd.org/en/books/porters-handbook/book/#options-cmake_bool Why is INSTALL_TEST_CASES enabled? Best regards, Daniel