From 237dbf67966ab4fc70c9b34dcea433de53cd2166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 28 Feb 2014 10:08:00 +0000 Subject: Edit Makefile.config to provide the correct interpreter locations. Approved by: maintainer (flo) --- sysutils/munin-node/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysutils/munin-node') 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: -- cgit v1.2.3