mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
0e3f4a22aa
to fix build on GCC-based systems: CMake Error at CMakeLists.txt:94 (target_compile_features): The compiler feature "cxx_std_14" is not known to CXX compiler "GNU" version 4.2.1.
28 lines
590 B
Makefile
28 lines
590 B
Makefile
PORTNAME= kuku
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.1.0
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Cuckoo hashing library written in C++
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++14-lang
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= microsoft
|
|
GH_PROJECT= Kuku
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
|
|
do-test:
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DKUKU_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
./bin/kukutest
|
|
|
|
.include <bsd.port.mk>
|