- updated to ZeroMQ-2.1.7,

- traded -pedantic for -Werror (per tedu@'s earlier comment),
- SHARED_ONLY=Yes, because all binaries were removed in 2.1.x.

from piotr sikora
maintainer timed-out
This commit is contained in:
jasper 2011-07-05 13:57:23 +00:00
parent 7c74f6a901
commit f82d1632ba
5 changed files with 30 additions and 34 deletions

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.2 2011/04/02 21:33:55 jeremy Exp $
# $OpenBSD: Makefile,v 1.3 2011/07/05 13:57:23 jasper Exp $
COMMENT = open source message queue optimised for performance
DISTNAME = zeromq-2.0.10
SHARED_LIBS += zmq 0.0 # 0.0
DISTNAME = zeromq-2.1.7
SHARED_ONLY = Yes
SHARED_LIBS += zmq 1.0 # 1.0
CATEGORIES = net
HOMEPAGE = http://zeromq.org
@ -15,7 +17,7 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB= c pthread stdc++ ssl crypto m
WANTLIB= pthread stdc++ ssl crypto m
MASTER_SITES = http://download.zeromq.org/ \
http://download.zeromq.org/historic/

View File

@ -1,5 +1,5 @@
MD5 (zeromq-2.0.10.tar.gz) = q3lKF0IQuegJak79HRpNQg==
RMD160 (zeromq-2.0.10.tar.gz) = N2zHU7nixdOZLgFadXZgTwaFJ68=
SHA1 (zeromq-2.0.10.tar.gz) = 0CLSMp44Loc36s/biczMIekJcjo=
SHA256 (zeromq-2.0.10.tar.gz) = BUTWGH+t70X6P+bDaEN6EwoGIa1aD67Z6+sQowZ5Qqo=
SIZE (zeromq-2.0.10.tar.gz) = 1067165
MD5 (zeromq-2.1.7.tar.gz) = fTEg+Kj7kTp+VcV8brAk8w==
RMD160 (zeromq-2.1.7.tar.gz) = SH1eUi46W48bCzQVwAdk9E+uE40=
SHA1 (zeromq-2.1.7.tar.gz) = hifvyizdZ+BnAjq8yTRw8nU6EF4=
SHA256 (zeromq-2.1.7.tar.gz) = KhQW0KPqVa4X1DQX/ZvRk0EsyRAeFEvI070Z/jaBbg0=
SIZE (zeromq-2.1.7.tar.gz) = 1877380

View File

@ -1,19 +1,20 @@
$OpenBSD: patch-configure,v 1.1.1.1 2011/04/01 22:26:54 jeremy Exp $
--- configure.orig Mon Mar 21 10:24:35 2011
+++ configure Mon Mar 21 10:24:54 2011
@@ -15207,13 +15207,13 @@ fi
LIBZMQ_EXTRA_CXXFLAGS=""
$OpenBSD: patch-configure,v 1.2 2011/07/05 13:57:23 jasper Exp $
--- configure.orig Thu May 12 12:09:22 2011
+++ configure Thu Jun 16 02:59:55 2011
@@ -16088,7 +16088,7 @@
# Extra LDFLAGS are appended at the end of LDFLAGS for libzmq.
-LIBZMQ_EXTRA_LDFLAGS=""
+LIBZMQ_EXTRA_LDFLAGS="-lstdc++ -lm -lssl -lcrypto"
# By default compiling with -pedantic except QNX and OSX.
pedantic="yes"
# Set pedantic
-libzmq_pedantic="yes"
+libzmq_pedantic="no"
# By default compiling with -Werror except OSX.
-werror="yes"
+werror="no"
libzmq_werror="yes"
@@ -16101,6 +16101,7 @@
# Set some default features required by 0MQ code.
CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE $CPPFLAGS"
+LIBS="-lstdc++ -lm -lssl -lcrypto $LIBS"
# For host type checks
#Whether we are on mingw or not.
on_mingw32="no"

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/04/01 22:26:54 jeremy Exp $
@lib lib/libzmq.so.${LIBzmq_VERSION}

View File

@ -1,21 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/01 22:26:54 jeremy Exp $
%%SHARED%%
@bin bin/zmq_forwarder
@bin bin/zmq_queue
@bin bin/zmq_streamer
@comment $OpenBSD: PLIST,v 1.2 2011/07/05 13:57:23 jasper Exp $
include/zmq.h
include/zmq.hpp
include/zmq_utils.h
lib/libzmq.a
lib/libzmq.la
@lib lib/libzmq.so.${LIBzmq_VERSION}
lib/pkgconfig/
lib/pkgconfig/libzmq.pc
@man man/man1/zmq_forwarder.1
@man man/man1/zmq_queue.1
@man man/man1/zmq_streamer.1
@man man/man3/zmq_bind.3
@man man/man3/zmq_close.3
@man man/man3/zmq_connect.3
@man man/man3/zmq_device.3
@man man/man3/zmq_errno.3
@man man/man3/zmq_getsockopt.3
@man man/man3/zmq_init.3