git: fd61ae1624fb - main - benchmarks/hipercontracer: unbreak, undeprecate, cleanup the port.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 30 Nov 2023 01:05:37 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd61ae1624fbb8e4dc7d394de50cff65fa8bfeac

commit fd61ae1624fbb8e4dc7d394de50cff65fa8bfeac
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-11-30 01:04:48 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-11-30 01:04:48 +0000

    benchmarks/hipercontracer: unbreak, undeprecate, cleanup the port.
---
 benchmarks/hipercontracer/Makefile | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/benchmarks/hipercontracer/Makefile b/benchmarks/hipercontracer/Makefile
index f0037db1c74a..fba4ce6da283 100644
--- a/benchmarks/hipercontracer/Makefile
+++ b/benchmarks/hipercontracer/Makefile
@@ -11,24 +11,18 @@ WWW=		https://www.uni-due.de/~be0001/hipercontracer/
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-DEPRECATED=	BROKEN for more than a year
-EXPIRATION_DATE=	2023-11-30
-BROKEN=		error: expected '(' for function-style cast or type construction
-
-LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
-		libboost_filesystem.so:devel/boost-libs \
-		libboost_iostreams.so:devel/boost-libs \
-		libboost_log.so:devel/boost-libs \
-		libboost_program_options.so:devel/boost-libs \
-		libboost_system.so:devel/boost-libs \
-		libboost_thread.so:devel/boost-libs
+LIB_DEPENDS=	libboost_atomic.so:devel/boost-libs
 
 USES=		cmake compiler:c++14-lang python shebangfix tar:xz
 USE_LDCONFIG=	yes
 
 SHEBANG_FILES=	src/addressinfogenerator src/get-default-ips src/tracedataimporter
 
-CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR=${PREFIX}/man
+CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR:PATH=${PREFIX}/man
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^#include <set>/ { x; s/^/#include <map>/; G; }' \
+		${WRKSRC}/src/tools.h ${WRKSRC}/src/traceroute.h
+
 .include <bsd.port.mk>