2019-01-28 19:39:30 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2019/01/28 19:39:30 jasper Exp $
|
2011-04-01 22:26:54 +00:00
|
|
|
|
|
|
|
COMMENT = open source message queue optimised for performance
|
|
|
|
|
2019-01-28 19:39:30 +00:00
|
|
|
V = 4.3.1
|
2017-12-18 21:03:54 +00:00
|
|
|
DISTNAME = zeromq-${V}
|
2011-07-05 13:57:23 +00:00
|
|
|
|
2019-01-28 19:39:30 +00:00
|
|
|
SHARED_LIBS += zmq 5.1 # 7.1
|
2011-04-01 22:26:54 +00:00
|
|
|
|
|
|
|
CATEGORIES = net
|
2013-03-08 10:33:28 +00:00
|
|
|
HOMEPAGE = http://zeromq.org/
|
2011-04-01 22:26:54 +00:00
|
|
|
|
2017-12-18 21:03:54 +00:00
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
2015-01-25 09:36:55 +00:00
|
|
|
|
2011-04-01 22:26:54 +00:00
|
|
|
# LGPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB += c m pthread sodium ${COMPILER_LIBCXX}
|
2011-04-01 22:26:54 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2017-12-18 21:03:54 +00:00
|
|
|
MASTER_SITES = https://github.com/zeromq/libzmq/releases/download/v$V/
|
2011-04-01 22:26:54 +00:00
|
|
|
|
2014-09-23 12:08:03 +00:00
|
|
|
LIB_DEPENDS = security/libsodium
|
2011-04-01 22:26:54 +00:00
|
|
|
|
2014-09-23 12:08:03 +00:00
|
|
|
USE_GMAKE = Yes
|
2011-04-01 22:26:54 +00:00
|
|
|
|
2014-09-23 12:08:03 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2018-01-19 00:54:14 +00:00
|
|
|
CONFIGURE_ARGS = --disable-Werror
|
2017-12-18 21:03:54 +00:00
|
|
|
# XXX: verify tweetnacl (the default) uses proper randomness before using it
|
|
|
|
CONFIGURE_ARGS += --with-libsodium
|
2015-06-16 12:22:56 +00:00
|
|
|
|
2015-05-13 14:54:14 +00:00
|
|
|
# XXX libsodium: https://github.com/jedisct1/libsodium/pull/104
|
|
|
|
CONFIGURE_ENV = CXXFLAGS="-Wno-long-long ${CXXFLAGS}"
|
2012-04-28 10:05:30 +00:00
|
|
|
|
2015-10-26 18:10:56 +00:00
|
|
|
# test_system needs to be able to create at least 496 sockets
|
|
|
|
do-test:
|
|
|
|
cd ${WRKSRC} && ulimit -n 1024 && ${MAKE_PROGRAM} ${TEST_TARGET}
|
|
|
|
|
2011-04-01 22:26:54 +00:00
|
|
|
.include <bsd.port.mk>
|