aboutsummaryrefslogtreecommitdiffstats
path: root/net/rabbitmq
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-06-15 03:34:50 +0800
committerswills <swills@FreeBSD.org>2011-06-15 03:34:50 +0800
commitc370e1fd92e881653071a890d4c8712ef4e7deae (patch)
tree9342ad0e17cd07bd96a2b11a0639ad22bc55fd80 /net/rabbitmq
parent567ec40a059508b1750bc3b585d6dac2dc0e6db1 (diff)
downloadfreebsd-ports-gnome-c370e1fd92e881653071a890d4c8712ef4e7deae.tar.gz
freebsd-ports-gnome-c370e1fd92e881653071a890d4c8712ef4e7deae.tar.zst
freebsd-ports-gnome-c370e1fd92e881653071a890d4c8712ef4e7deae.zip
- Fix build
PR: ports/157422 Submitted by: Antoine van Gelder <antoine@artifactual.org.za> Approved by: Phillip Neumann <pneumann@gmail.com> (maintainer)
Diffstat (limited to 'net/rabbitmq')
-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()} |
+