Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 10:08:00 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346477 - head/sysutils/munin-node
Message-ID:  <201402281008.s1SA808Z015330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Fri Feb 28 10:08:00 2014
New Revision: 346477
URL: http://svnweb.freebsd.org/changeset/ports/346477
QAT: https://qat.redports.org/buildarchive/r346477/

Log:
  Edit Makefile.config to provide the correct interpreter locations.
  
  Approved by:	maintainer (flo)

Modified:
  head/sysutils/munin-node/Makefile

Modified: head/sysutils/munin-node/Makefile
==============================================================================
--- head/sysutils/munin-node/Makefile	Fri Feb 28 10:07:46 2014	(r346476)
+++ head/sysutils/munin-node/Makefile	Fri Feb 28 10:08:00 2014	(r346477)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281008.s1SA808Z015330>