1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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.
This commit is contained in:
Bruce M Simpson 2009-07-04 12:21:55 +00:00
parent 0f22d70819
commit b143a17af5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237090

View File

@ -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}