summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormbalmer <mbalmer@pkgsrc.org>2014-07-02 08:00:04 +0000
committermbalmer <mbalmer@pkgsrc.org>2014-07-02 08:00:04 +0000
commit62325cde4365633561d06456815ae3f8de2d4c49 (patch)
treee23447fadecd3da634d025fb87faa2ec51b97dd7 /net
parent3e303eaa0272f3c8ec0893ab98b329570eed7973 (diff)
downloadpkgsrc-62325cde4365633561d06456815ae3f8de2d4c49.tar.gz
Link against security/libsodium so that CURVE security becomes available.
Conditionalize C++ standard on the compiler being used (the curve code in zeromq uses "long long" which is not vali in C++98).
Diffstat (limited to 'net')
-rw-r--r--net/zeromq/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/zeromq/Makefile b/net/zeromq/Makefile
index c231842f79a..d814476defb 100644
--- a/net/zeromq/Makefile
+++ b/net/zeromq/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2014/03/11 09:11:25 obache Exp $
+# $NetBSD: Makefile,v 1.15 2014/07/02 08:00:04 mbalmer Exp $
DISTNAME= zeromq-4.0.4
CATEGORIES= net devel
MASTER_SITES= http://download.zeromq.org/
+PKGREVISION= 1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.zeromq.org/
@@ -20,6 +21,12 @@ TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CXXFLAGS+= -std=gnu++0x
+.endif
+
+.include "../../security/libsodium/buildlink3.mk"
+
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif