summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-10-11 12:14:22 +0000
committerjperkin <jperkin@pkgsrc.org>2018-10-11 12:14:22 +0000
commitb90a79ea6026fc981cd661eeb27b0180aa2a8bc5 (patch)
tree34b58fef26dc3b76da3518588b8b547ff95224e9 /net
parent45d4f54715d64a381de854751126923f9b866f61 (diff)
downloadpkgsrc-b90a79ea6026fc981cd661eeb27b0180aa2a8bc5.tar.gz
rabbitmq: Avoid nested interpreters.
This isn't supported on some operating systems. If it turns out to be required by more packages we should create a tool.mk for lang/elixir. Mark the package MAKE_JOBS safe again.
Diffstat (limited to 'net')
-rw-r--r--net/rabbitmq/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile
index 882d43bd0e4..190b715ffc8 100644
--- a/net/rabbitmq/Makefile
+++ b/net/rabbitmq/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2018/09/17 18:07:37 fhajny Exp $
+# $NetBSD: Makefile,v 1.40 2018/10/11 12:14:22 jperkin Exp $
DISTNAME= rabbitmq-server-3.7.7
PKGNAME= ${DISTNAME:S/-server//}
@@ -24,10 +24,11 @@ DEPENDS+= ${PYPKGPREFIX}-simplejson>=2:../../converters/py-simplejson
BUILD_DEFS+= VARBASE
-.include "../../mk/bsd.prefs.mk"
+# Create a mix tool to avoid nested interpreter issues.
+TOOLS_CREATE+= mix
+TOOLS_SCRIPT.mix= ${PREFIX}/bin/elixir -r ${PREFIX}/bin/mix -- "$$@"
-# mix[2]: Mix.start: not found [No such file or directory]
-MAKE_JOBS_SAFE= no
+.include "../../mk/bsd.prefs.mk"
RMQ_USER?= rabbitmq
RMQ_GROUP?= ${RMQ_USER}