git: 6ac74e47884e - main - math/curv: prepare for Boost-1.89, do not link with stub Boost::system (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 09:12:24 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6ac74e47884e3b316fe7b808763b09aab2852c93
commit 6ac74e47884e3b316fe7b808763b09aab2852c93
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-09-30 09:03:38 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-09-30 09:03:38 +0000
math/curv: prepare for Boost-1.89, do not link with stub Boost::system (+)
Get rid of overlinking on empty stub library Boost::system, it is header-only since boost-1.70
With hat: office/boost
---
math/curv/Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/math/curv/Makefile b/math/curv/Makefile
index c4cf2c72934f..e1b2637ddd97 100644
--- a/math/curv/Makefile
+++ b/math/curv/Makefile
@@ -1,6 +1,6 @@
PORTNAME= curv
DISTVERSION= 0.5
-PORTREVISION= 26
+PORTREVISION= 27
CATEGORIES= math lang graphics
MAINTAINER= yuri@FreeBSD.org
@@ -16,7 +16,7 @@ BROKEN= requires OpenMP support that is missing on this architecture
.endif
BUILD_DEPENDS= glm>0:math/glm
-LIB_DEPENDS= libboost_system.so:devel/boost-libs \
+LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libdouble-conversion.so:devel/double-conversion \
libglfw.so:graphics/glfw \
libImath.so:math/Imath \
@@ -43,6 +43,11 @@ PLIST_FILES= bin/curv \
lib/curv/std.curv \
share/gtksourceview-3.0/language-specs/curv.lang
+post-patch:
+ @${REINPLACE_CMD} -e '/find_package/s| system||' \
+ -e '/target_link_libraries/s| Boost::system||' \
+ ${WRKSRC}/CMakeLists.txt
+
post-install:
@${RM} ${STAGEDIR}${PREFIX}/lib/curv/lib/README