zeromq: links against libnetwork.

This commit is contained in:
Jerome Duval
2017-11-05 21:13:36 +01:00
parent 8e94c7c91f
commit 1f87a13175
2 changed files with 6 additions and 5 deletions

View File

@@ -1,23 +1,24 @@
From 96b2fedfdc50b3a03fcbe7b4218177530d206cb8 Mon Sep 17 00:00:00 2001
From 2784f887cccb13ca3ae689ad0319c6c698f67ad3 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 18 Apr 2017 21:52:36 +0200
Subject: Haiku patch
diff --git a/configure.ac b/configure.ac
index 0f19396..3eda103 100644
index 0f19396..69723da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,6 +213,9 @@ case "${host_os}" in
@@ -213,6 +213,10 @@ case "${host_os}" in
LIBZMQ_CHECK_LANG_FLAG_PREPEND([-Wno-uninitialized])
AC_LANG_POP([C++])
;;
+ *haiku*)
+ AC_DEFINE(ZMQ_HAVE_HAIKU, 1, [Have Haiku OS])
+ AC_CHECK_LIB(network, socket)
+ ;;
*netbsd*)
# Define on NetBSD to enable all library features
CPPFLAGS="-D_NETBSD_SOURCE $CPPFLAGS"
--
2.13.1
2.14.2

View File

@@ -16,7 +16,7 @@ COPYRIGHT="2007-2014 iMatix Corporation
2015-2016 Brocade Communications Systems Inc.
"
LICENSE="GNU LGPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/zeromq/libzmq/releases/download/v$portVersion/zeromq-$portVersion.tar.gz"
CHECKSUM_SHA256="5b23f4ca9ef545d5bd3af55d305765e3ee06b986263b31967435d285a3e6df6b"
SOURCE_URI_2="https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp#noarchive"