diff options
author | fhajny <fhajny@pkgsrc.org> | 2011-12-14 13:07:38 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2011-12-14 13:07:38 +0000 |
commit | 18f5d7948ccac60d16dd6a9ec5ee0d2e2b537272 (patch) | |
tree | e386270a9f0a780bafef6c6bd0ec308bf79e2662 /net | |
parent | e7a1f4c3871db33f672195784aefd07b9e4c6bd0 (diff) | |
download | pkgsrc-18f5d7948ccac60d16dd6a9ec5ee0d2e2b537272.tar.gz |
Use Bash as interpretter in scripts properly
Diffstat (limited to 'net')
-rw-r--r-- | net/rabbitmq/Makefile | 7 |
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" |