blob: 20083d37d2d016ee3f7dd1ef7b3f9f4ec978434b (
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
38
39
|
# $NetBSD: Makefile,v 1.19 2014/07/07 13:28:46 obache Exp $
DISTNAME= zeromq-4.0.4
PKGREVISION= 1
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
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
.include "../../security/libsodium/buildlink3.mk"
CONFIGURE_ARGS+= --with-libsodium=${BUILDLINK_PREFIX.libsodium}
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
|