summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/rabbitmq/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile
index 8b8078debc6..e529f6e311b 100644
--- a/net/rabbitmq/Makefile
+++ b/net/rabbitmq/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/12/14 11:55:20 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2011/12/14 13:07:38 fhajny Exp $
#
PKGNAME= rabbitmq-${RMQ_VERSION}
@@ -63,9 +63,12 @@ SUBST_SED.paths+= -e 's|/var/lib|${VARBASE}/db|g'
SUBST_SED.paths+= -e 's|/var/log|${VARBASE}/log|g'
SUBST_SED.paths+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.paths+= -e 's|erl|${PREFIX}/bin/erl|g'
-SUBST_SED.paths+= -e 's|/bin/sh|/bin/ksh|g'
SUBST_SED.paths+= -e 's|readlink|${PREFIX}/bin/${GNU_PROGRAM_PREFIX}readlink|g'
+REPLACE_BASH+= ${SCRIPTS_DIR}/rabbitmqctl
+REPLACE_BASH+= ${SCRIPTS_DIR}/rabbitmq-env
+REPLACE_BASH+= ${SCRIPTS_DIR}/rabbitmq-server
+
MAKE_ENV+= TARGET_DIR="${DESTDIR}${PREFIX}/lib/erlang/lib/rabbitmq_server-${RMQ_VERSION}"
MAKE_ENV+= SBIN_DIR="${DESTDIR}${PREFIX}/sbin/"
MAKE_ENV+= MAN_DIR="${DESTDIR}${PREFIX}/man"