aboutsummaryrefslogtreecommitdiffstats
path: root/net/rabbitmq
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2009-07-04 20:21:55 +0800
committerbms <bms@FreeBSD.org>2009-07-04 20:21:55 +0800
commitd7c1b2d8de6b7fa7ce5891289a033321bad77baf (patch)
treeb42a9fc57205f5425b83870f1c3973fca2422a01 /net/rabbitmq
parent0d15f5087faa20ab138e5d4b3d3461a659c86dfe (diff)
downloadfreebsd-ports-gnome-d7c1b2d8de6b7fa7ce5891289a033321bad77baf.tar.gz
freebsd-ports-gnome-d7c1b2d8de6b7fa7ce5891289a033321bad77baf.tar.zst
freebsd-ports-gnome-d7c1b2d8de6b7fa7ce5891289a033321bad77baf.zip
Fix substitution for port's /etc directory location.
Use LOCALBASE, not PREFIX, for previously installed ports (i.e. Erlang). I'm not going to fix the man pages, for the moment.
Diffstat (limited to 'net/rabbitmq')
-rw-r--r--net/rabbitmq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile
index cbf982f20b2a..3fc4e4896376 100644
--- a/net/rabbitmq/Makefile
+++ b/net/rabbitmq/Makefile
@@ -34,7 +34,7 @@ MAN5= rabbitmq.conf.5
MANCOMPRESSED= yes
post-patch:
- @${REINPLACE_CMD} -e 's|/etc/default|${PREFIX}/etc/rabbitmq|g ; s|/var/lib|/var/db|g ; s|erl|${PREFIX}/bin/erl|g' \
+ @${REINPLACE_CMD} -e 's|/etc/rabbitmq|${PREFIX}/etc/rabbitmq|g ; s|/var/lib|/var/db|g ; s|erl|${LOCALBASE}/bin/erl|g' \
${SCRIPTS_DIR}/rabbitmq-multi ${SCRIPTS_DIR}/rabbitmq-server ${SCRIPTS_DIR}/rabbitmqctl
@${FIND} ${WRKSRC} -name "*.bak" | ${XARGS} ${RM}