Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 20:37:29 +0100 (CET)
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        des@FreeBSD.org
Subject:   ports/129576: [PATCH] sysutils/munin-node: does not honor BATCH/PACKAGE_BUILDING
Message-ID:  <20081211193729.671D242A0F4@prometheus.scode.org>
Resent-Message-ID: <200812111940.mBBJe3Kt066863@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129576
>Category:       ports
>Synopsis:       [PATCH] sysutils/munin-node: does not honor BATCH/PACKAGE_BUILDING
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 11 19:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Peter Schuller
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Dec  3 01:00:41 CET
>Description:
Note that I am not an active munin user and so have not smoke tested
the change in any kind of production environment, though it seems safe.

Port maintainer (des@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- munin-node-1.2.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/munin-node.orig/Makefile /usr/ports/sysutils/munin-node/Makefile
--- /usr/ports/sysutils/munin-node.orig/Makefile	2008-10-15 09:47:58.000000000 +0200
+++ /usr/ports/sysutils/munin-node/Makefile	2008-12-11 20:28:38.165093651 +0100
@@ -43,7 +43,7 @@
 USE_RC_SUBR=	YES
 
 pre-install:
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/munin-node.sh ${PREFIX}/etc/rc.d/munin-node.sh
@@ -60,7 +60,7 @@
 	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node-configure.8 ${PREFIX}/man/man8
 	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node.8 ${PREFIX}/man/man8
 	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-run.8 ${PREFIX}/man/man8
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${ECHO} ${DISTNAME} | ${SED} -e 's/munin_//' > ${PREFIX}/etc/munin/VERSION.node
 
 .include <bsd.port.post.mk>
--- munin-node-1.2.6_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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