aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-08-31 16:56:40 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-09-02 21:07:25 +0000
commit02640862fdb5fa7eb0d41fdeb127bfaf4d38b749 (patch)
tree48b56a120a880705672461ffaad763ad90b09d1c
parent6b5f70d12a5fd9ee54c8321689f746878238f884 (diff)
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)
-rw-r--r--devel/trellis/Makefile1
-rw-r--r--devel/trellis/files/patch-libtrellis_CMakeLists.txt11
2 files changed, 12 insertions, 0 deletions
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()