git: ceee6329e68d - main - devel/boost-libs: unbreak build if outdated devel/libbacktrace found (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Oct 2025 19:16:43 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ceee6329e68d2c7c8ce398c265e1711593aca005
commit ceee6329e68d2c7c8ce398c265e1711593aca005
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-10-28 18:47:36 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-10-28 19:16:35 +0000
devel/boost-libs: unbreak build if outdated devel/libbacktrace found (+)
Prevent hook up broken and outdated libbacktrace.so from devel/libbacktrace
which caused build errors with ZSTD or GIL options enabled
While here, do not link uncondifionally with zstd, follow option selection
TODO: port it to libexecinfo from base
---
devel/boost-libs/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 810bc70fb504..f09ecfa90a06 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= boost-libs
-PORTREVISION?= 0
+PORTREVISION?= 1
COMMENT= Free portable C++ libraries (without Boost.Python)
WWW= https://www.boost.org/
@@ -10,7 +10,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
BROKEN_sparc64= https://github.com/boostorg/context/commit/f2ef6326b6ed
BUILD_DEPENDS+= bjam:devel/boost-jam
-LIB_DEPENDS+= libzstd.so:archivers/zstd
# Note about LLVM_FROM_PORTS option:
# Build of this port fails with assertion failure of compiler due to
@@ -73,6 +72,11 @@ MAKE_ARGS+= -sZSTD_PATH=${LOCALBASE}
MAKE_ARGS+= -sZSTD_LIBRARY_PATH=${LOCALBASE}/lib
MAKE_ARGS+= -sZSTD_INCLUDE=${LOCALBASE}/include
+# prevent hook up broken and outdated libbacktrace.so from devel/libbacktrace
+# which caused build errors with ZSTD or GIL enabled
+# TODO: port it to libexecinfo from base
+MAKE_ARGS+= boost.stacktrace.backtrace=off
+
.include <bsd.port.options.mk>
# boost.stacktrace.from_exceptions is ready only for amd64 yet