Skip to content

Commit

Permalink
benchmarks/hipercontracer: unbreak, undeprecate, cleanup the port.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Nov 30, 2023
1 parent ff89313 commit fd61ae1
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions benchmarks/hipercontracer/Makefile
Expand Up @@ -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>

0 comments on commit fd61ae1

Please sign in to comment.