Files
ports/net/zeromq/Makefile
T
kn e590c05b9d drop redundant cxxflags addition; OK jca robert
the build already uses -Wno-long-long, looks like upstream picked it up
some time after we amended it ten years ago.
2025-09-26 15:30:45 +00:00

41 lines
955 B
Makefile

COMMENT = open source message queue optimised for performance
V = 4.3.5
DISTNAME = zeromq-${V}
SHARED_LIBS += zmq 5.2 # 7.3
CATEGORIES = net
HOMEPAGE = https://zeromq.org/
MAINTAINER = Robert Nagy <robert@openbsd.org>
# LGPLv3
PERMIT_PACKAGE = Yes
WANTLIB += c m pthread sodium ${COMPILER_LIBCXX}
# C++
COMPILER = base-clang ports-gcc
SITES = https://github.com/zeromq/libzmq/releases/download/v$V/
BUILD_DEPENDS = textproc/asciidoc \
textproc/xmlto
LIB_DEPENDS = security/libsodium
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-Werror
# XXX: verify tweetnacl (the default) uses proper randomness before using it
CONFIGURE_ARGS += --with-libsodium
CONFIGURE_ENV = CODE_COVERAGE_CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
# test_system needs to be able to create at least 496 sockets
do-test:
cd ${WRKSRC} && ulimit -n 1024 && ${MAKE_PROGRAM} ${TEST_TARGET}
.include <bsd.port.mk>