git: 1a3940c88c88 - main - www/domoticz: 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:26 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1a3940c88c88012f2b344d882e48cc34592c382f
commit 1a3940c88c88012f2b344d882e48cc34592c382f
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-09-30 09:09:52 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-09-30 09:09:52 +0000
www/domoticz: 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
---
www/domoticz/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/www/domoticz/Makefile b/www/domoticz/Makefile
index 71b4baf5b885..2dc249572877 100644
--- a/www/domoticz/Makefile
+++ b/www/domoticz/Makefile
@@ -1,6 +1,6 @@
PORTNAME= domoticz
DISTVERSION= 2024.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MAINTAINER= kiwi@FreeBSD.org
@@ -51,6 +51,11 @@ PRECOMP_CMAKE_BOOL= USE_PRECOMPILED_HEADER
PYTHON_USES= python:3.9+
PYTHON_CMAKE_BOOL= USE_PYTHON
+post-patch:
+ @${REINPLACE_CMD} -e '/find_package/s| system||' \
+ -e '/target_link_libraries/s| Boost::system||' \
+ ${WRKSRC}/CMakeLists.txt
+
post-install:
${MKDIR} ${STAGEDIR}/var/db/domoticz ${STAGEDIR}/var/run/domoticz