blob: b811f27c5e900caa6f87f95fd839af5b289ba268 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.22 2016/02/07 11:05:38 adam Exp $
DISTNAME= zeromq-4.1.4
CATEGORIES= net devel
MASTER_SITES= http://download.zeromq.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.zeromq.org/
COMMENT= The ZeroMQ messaging library
LICENSE= gnu-lgpl-v3
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libsodium=${BUILDLINK_PREFIX.libsodium}
PKGCONFIG_OVERRIDE+= src/libzmq.pc.in
TEST_TARGET= check
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-*)
CXXFLAGS+= -std=gnu++0x
.endif
.if !empty(CC_VERSION:Mclang-*)
CXXFLAGS+= -std=gnu++11
.endif
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif
.include "../../security/libsodium/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|