2015-06-16 12:22:56 +00:00

37 lines
793 B
Makefile

# $OpenBSD: Makefile,v 1.17 2015/06/16 12:22:56 ajacoutot Exp $
# Note: use 'ulimit -n 1024' for regress tests
SHARED_ONLY = Yes
COMMENT = open source message queue optimised for performance
DISTNAME = zeromq-4.1.2
SHARED_LIBS += zmq 4.1 # 4.0
CATEGORIES = net
HOMEPAGE = http://zeromq.org/
MAINTAINER = Rodrigo Mosconi <openbsd@mosconi.mat.br>
# LGPLv3
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m pthread sodium stdc++
MASTER_SITES = http://download.zeromq.org/
LIB_DEPENDS = security/libsodium
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--with-libsodium=${LOCALBASE}
# XXX libsodium: https://github.com/jedisct1/libsodium/pull/104
CONFIGURE_ENV = CXXFLAGS="-Wno-long-long ${CXXFLAGS}"
.include <bsd.port.mk>