diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index 934569fec4aa..3fb4718849b3 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -3,6 +3,7 @@ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -node @@ -82,6 +83,13 @@ post-patch: ${WRKSRC}/node/sbin/munin-node \ ${WRKSRC}/node/sbin/munin-node-configure \ ${WRKSRC}/node/sbin/munin-run + @${REINPLACE_CMD} \ + -e 's|^\(BASH[[:space:]]*:=\).*|\1 ${bash_CMD}|' \ + -e 's|^\(JAVARUN[[:space:]]*:=\).*|\1 ${java_CMD}|' \ + -e 's|^\(PERL[[:space:]]*:=\).*|\1 ${perl_CMD}|' \ + -e 's|^\(PYTHON[[:space:]]*:=\).*|\1 ${python_CMD}|' \ + -e 's|^\(RUBY[[:space:]]*:=\).*|\1 ${ruby_CMD}|' \ + ${WRKSRC}/Makefile.config @${FIND} ${WRKSRC}/node/sbin -type f -name "*.orig" -delete pre-su-install: