git: c01e79a1913a - main - textproc/luceneplusplus: prepare for Boost 1.89 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Sep 2025 09:20:05 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c01e79a1913a4bf6b3a5121d3cf95b71191aa03b
commit c01e79a1913a4bf6b3a5121d3cf95b71191aa03b
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-09-26 09:17:58 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-09-26 09:19:58 +0000
textproc/luceneplusplus: prepare for Boost 1.89 (+)
Drop linking with Boost::system, this library is header-only since 1.70 and empty stub library is removed in 1.89
---
textproc/luceneplusplus/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/textproc/luceneplusplus/Makefile b/textproc/luceneplusplus/Makefile
index da1687d081a7..6992f19286a0 100644
--- a/textproc/luceneplusplus/Makefile
+++ b/textproc/luceneplusplus/Makefile
@@ -1,6 +1,6 @@
PORTNAME= lucene++
PORTVERSION= 3.0.9
-PORTREVISION= 2
+PORTREVISION= 3
DISTVERSIONPREFIX= rel_
CATEGORIES= textproc
@@ -15,7 +15,7 @@ PATCHFILES+= e6a376836e5c891577eae6369263152106b9bc02.patch:-p1
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LGPL.license
-LIB_DEPENDS= libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USE_GITHUB= yes
GH_ACCOUNT= luceneplusplus
@@ -34,5 +34,7 @@ post-patch:
${WRKSRC}/src/test/CMakeLists.txt
${REINPLACE_CMD} 's,LIB_DESTINATION}/pkgconfig,CMAKE_INSTALL_LIBDIR}/pkgconfig,' \
${WRKSRC}/src/config/core/CMakeLists.txt
+ ${FIND} ${WRKSRC} -name CMakeLists.txt | ${XARGS} \
+ ${REINPLACE_CMD} -e '/Boost::system/d'
.include <bsd.port.post.mk>