diff options
author | bms <bms@FreeBSD.org> | 2009-07-04 20:21:55 +0800 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-07-04 20:21:55 +0800 |
commit | d7c1b2d8de6b7fa7ce5891289a033321bad77baf (patch) | |
tree | b42a9fc57205f5425b83870f1c3973fca2422a01 /net/rabbitmq | |
parent | 0d15f5087faa20ab138e5d4b3d3461a659c86dfe (diff) | |
download | freebsd-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/Makefile | 2 |
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} |