1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Fix build

PR:		ports/157422
Submitted by:	Antoine van Gelder <antoine@artifactual.org.za>
Approved by:	Phillip Neumann <pneumann@gmail.com> (maintainer)
This commit is contained in:
Steve Wills 2011-06-14 19:34:50 +00:00
parent 6eeb8d0f95
commit c6fbf801f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275582
2 changed files with 16 additions and 5 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= rabbitmq
PORTVERSION= 2.3.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.rabbitmq.com/releases/rabbitmq-server/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-server-${PORTVERSION}
@ -15,14 +15,12 @@ DISTNAME= ${PORTNAME}-server-${PORTVERSION}
MAINTAINER= pneumann@gmail.com
COMMENT= RabbitMQ is an implementation of AMQP
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang-lite \
BUILD_DEPENDS= erlang-lite>=r14b03,1:${PORTSDIR}/lang/erlang-lite \
${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson \
xmlto:${PORTSDIR}/textproc/xmlto
RUN_DEPENDS= erlc:${PORTSDIR}/lang/erlang-lite \
RUN_DEPENDS= erlang-lite>=r14b03,1:${PORTSDIR}/lang/erlang-lite \
sudo:${PORTSDIR}/security/sudo
BROKEN= does not build
USE_GMAKE= yes
USE_PYTHON= yes
USE_RC_SUBR= rabbitmq

View File

@ -0,0 +1,13 @@
--- src/rabbit_networking.erl.orig 2011-02-03 14:47:35.000000000 +0200
+++ src/rabbit_networking.erl 2011-05-30 13:51:28.000000000 +0200
@@ -52,6 +52,9 @@
-export_type([ip_port/0, hostname/0]).
+-type(hostname() :: inet:hostname()).
+-type(ip_port() :: inet:ip_port()).
+
-type(family() :: atom()).
-type(listener_config() :: ip_port() |
{hostname(), ip_port()} |