aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/rabbitmq/Makefile8
-rw-r--r--net/rabbitmq/files/patch-src-rabbit_networking-erl13
2 files changed, 16 insertions, 5 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile
index 84a3fd2729be..9e9c843a509d 100644
--- a/net/rabbitmq/Makefile
+++ b/net/rabbitmq/Makefile
@@ -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
diff --git a/net/rabbitmq/files/patch-src-rabbit_networking-erl b/net/rabbitmq/files/patch-src-rabbit_networking-erl
new file mode 100644
index 000000000000..12040aec5f4c
--- /dev/null
+++ b/net/rabbitmq/files/patch-src-rabbit_networking-erl
@@ -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()} |
+