git: b5bccd2def7d - main - devel/lief: fix build issue
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Sep 2026 08:01:28 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b5bccd2def7d4b8ebc02e98ef4899b08d3aad883
commit b5bccd2def7d4b8ebc02e98ef4899b08d3aad883
Author: Chris.Torek <chris.torek@gmail.com>
AuthorDate: 2026-09-19 07:56:53 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2026-09-19 08:01:21 +0000
devel/lief: fix build issue
Use vendored utf8cpp module.
The system installed one in incompatible.
PR: 298528
Approved by: blanket (fix build)
---
devel/lief/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/devel/lief/Makefile b/devel/lief/Makefile
index 4d6545b012ac..b022f961be6e 100644
--- a/devel/lief/Makefile
+++ b/devel/lief/Makefile
@@ -14,8 +14,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/tcb/span.hpp:devel/span \
frozen>=0:devel/frozen \
nanobind>=0:devel/nanobind \
nlohmann-json>=0:devel/nlohmann-json \
- tl-expected>=0:devel/tl-expected \
- utf8cpp>=0:devel/utf8cpp
+ tl-expected>=0:devel/tl-expected
LIB_DEPENDS= libfmt.so:devel/libfmt \
libmbedtls.so:security/mbedtls3 \
libspdlog.so:devel/spdlog
@@ -34,6 +33,7 @@ CMAKE_OFF= LIEF_ASAN \
LIEF_FUZZING \
LIEF_LSAN \
LIEF_OBJC \
+ LIEF_OPT_UTFCPP_EXTERNAL \
LIEF_PYTHON_API \
LIEF_RUST_API \
LIEF_TESTS \
@@ -63,7 +63,6 @@ CMAKE_ON= BUILD_SHARED_LIBS \
LIEF_OPT_MBEDTLS_EXTERNAL \
LIEF_OPT_NANOBIND_EXTERNAL \
LIEF_OPT_NLOHMANN_JSON_EXTERNAL \
- LIEF_OPT_UTFCPP_EXTERNAL \
LIEF_PE \
LIEF_PROFILING \
LIEF_SO_VERSION \
@@ -83,6 +82,6 @@ CPE_VENDOR= lief-project
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
# Clean up bundled libraries
- @${RM} -r ${WRKSRC}/third-party/
+ @${RM} -r ${WRKSRC}/third-party/[A-t]*
.include <bsd.port.mk>