Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 17:32:49 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304448 - in head/sysutils/monitorix: . files
Message-ID:  <201209181732.q8IHWncF033357@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Tue Sep 18 17:32:48 2012
New Revision: 304448
URL: http://svn.freebsd.org/changeset/ports/304448

Log:
  Add PREFIX/sbin to path for smartctl
  
  Submitted by:	Maff (IRC:Freenode/#monitorix)

Modified:
  head/sysutils/monitorix/Makefile
  head/sysutils/monitorix/files/monitorix.in

Modified: head/sysutils/monitorix/Makefile
==============================================================================
--- head/sysutils/monitorix/Makefile	Tue Sep 18 15:38:43 2012	(r304447)
+++ head/sysutils/monitorix/Makefile	Tue Sep 18 17:32:48 2012	(r304448)
@@ -7,7 +7,7 @@
 
 PORTNAME=	monitorix
 PORTVERSION=	2.5.2
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.monitorix.org/ \
 		http://www.monitorix.org/old_versions/ \

Modified: head/sysutils/monitorix/files/monitorix.in
==============================================================================
--- head/sysutils/monitorix/files/monitorix.in	Tue Sep 18 15:38:43 2012	(r304447)
+++ head/sysutils/monitorix/files/monitorix.in	Tue Sep 18 17:32:48 2012	(r304448)
@@ -30,7 +30,7 @@ monitorix_start()
 	fi
 	echo "Starting ${name}."
 	rc_flags="-c %%PREFIX%%/etc/${name}.conf -p ${pidfile} ${rc_flags}"
-	%%PERL%% %%PREFIX%%/bin/${name} ${rc_flags} ${command_args}
+	/usr/bin/env PATH="$PATH:%%PREFIX%%/sbin:%%PREFIX%%/bin" perl %%PREFIX%%/bin/${name} ${rc_flags} ${command_args}
 }
 
 run_rc_command "$1"



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