git: 02640862fdb5 - main - devel/trellis: prepare for boost 1.89
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Sep 2025 21:11:28 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=02640862fdb5fa7eb0d41fdeb127bfaf4d38b749 commit 02640862fdb5fa7eb0d41fdeb127bfaf4d38b749 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2025-08-31 16:56:40 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2025-09-02 21:07:25 +0000 devel/trellis: prepare for boost 1.89 The libboost_system component will no longer exist with the new boost version and even now it's just a dummy. Don't let cmake look for it to fix the build. Trellis still fails on armv7 2025Q3, but that's due to a boost bug that is already fixed in main. Also add a cmake define to not have cmake be confused if git is present, as it would otherwise try to find a git commit that isn't there. Approved by: portmgr (build fix blanket) --- devel/trellis/Makefile | 1 + devel/trellis/files/patch-libtrellis_CMakeLists.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/devel/trellis/Makefile b/devel/trellis/Makefile index 86b86c7a40d3..55956ccd2c88 100644 --- a/devel/trellis/Makefile +++ b/devel/trellis/Makefile @@ -33,5 +33,6 @@ GH_TAGNAME= 14ac883fa639b11fdc98f3cdef87a5d01f79e73d GH_TUPLE= YosysHQ:prjtrellis-db:4dda149b9e4f1753ebc8b011ece2fe794be1281a:database/database CMAKE_SOURCE_PATH= ${WRKSRC}/libtrellis +CMAKE_ARGS= -DCURRENT_GIT_VERSION=${GH_TAGNAME} .include <bsd.port.mk> diff --git a/devel/trellis/files/patch-libtrellis_CMakeLists.txt b/devel/trellis/files/patch-libtrellis_CMakeLists.txt new file mode 100644 index 000000000000..407f2ba2eac1 --- /dev/null +++ b/devel/trellis/files/patch-libtrellis_CMakeLists.txt @@ -0,0 +1,11 @@ +--- libtrellis/CMakeLists.txt.orig 2025-08-31 16:45:20 UTC ++++ libtrellis/CMakeLists.txt +@@ -46,7 +46,7 @@ endif() + endif() + endif() + +-set(boost_libs filesystem program_options system) ++set(boost_libs filesystem program_options) + if (Threads_FOUND) + list(APPEND boost_libs thread) + else()