pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/rabbitmq rabbitmq: Avoid nested interpreters.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51602f29b075
branches:  trunk
changeset: 324215:51602f29b075
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Oct 11 12:14:22 2018 +0000

description:
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:

 net/rabbitmq/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 1dd772b4fa7d -r 51602f29b075 net/rabbitmq/Makefile
--- a/net/rabbitmq/Makefile     Thu Oct 11 12:10:08 2018 +0000
+++ b/net/rabbitmq/Makefile     Thu Oct 11 12:14:22 2018 +0000
@@ -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 @@
 
 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}



Home | Main Index | Thread Index | Old Index