summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorfhajny <fhajny>2011-12-14 13:07:38 +0000
committerfhajny <fhajny>2011-12-14 13:07:38 +0000
commit72464aa8640037c22d84e59b60880710af5aa35d (patch)
treee386270a9f0a780bafef6c6bd0ec308bf79e2662 /net
parent0df5060d3ff59de3e1b626d14b8a791fc3b8d5df (diff)
downloadpkgsrc-72464aa8640037c22d84e59b60880710af5aa35d.tar.gz
Use Bash as interpretter in scripts properly
Diffstat (limited to 'net')
-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"