Created attachment 246131 [details] Patch for updating the port Built and tested in Poudriere against 13.2-RELEASE amd64. The manual patch for CMakeLists.txt can be removed as the new version announces its version correctly and doesn't produce incorrectly named shared objects. See https://github.com/open62541/open62541/issues/6010
Any objections about adding CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git (mainly to remove the possibility that it does something bad with git installed) and removing BINARY_ALIAS?
(In reply to Daniel Engberg from comment #1) No objections about the git thing. I am unsure if it will still build with the BINARY_ALIAS removed unless this has been resolved otherwise.
Work as done "recently" regarding CMake and Python so it actually works fine in most cases as long as python3 isn't hardcoded. https://cgit.freebsd.org/ports/commit/Mk/Uses/python.mk?id=aa9736e3e5f6856f5eb5e26837169b0f6022eec8 It passes Poudriere on my end
(In reply to Daniel Engberg from comment #3) Good to know! Thank you. In that case I'm fine with the change.
Created attachment 246910 [details] Patch v2 (now for version 1.3.9) Patch updated for suggested changes. I also updated to the in the meantime released version 1.3.9 too.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbaa671a45c1dd43897844bd364a19ccddcb70dc commit cbaa671a45c1dd43897844bd364a19ccddcb70dc Author: Nico Sonack <nsonack@outlook.com> AuthorDate: 2023-12-28 19:22:33 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-12-30 16:22:13 +0000 devel/open62541: Update to 1.3.9 Changelog: https://github.com/open62541/open62541/releases/tag/v1.3.9 PR: 274920 devel/open62541/Makefile | 6 +++--- devel/open62541/distinfo | 6 +++--- devel/open62541/files/patch-CMakeLists.txt (gone) | 11 ----------- 3 files changed, 6 insertions(+), 17 deletions(-)
Commmited, thanks!