svn commit: r342584 - head/net/socat/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Feb 4 18:26:30 UTC 2014
Author: sunpoet
Date: Tue Feb 4 18:26:29 2014
New Revision: 342584
URL: http://svnweb.freebsd.org/changeset/ports/342584
QAT: https://qat.redports.org/buildarchive/r342584/
Log:
- Respect PREFIX
- Use procname instead of hardcoded /usr/local/bin/socat
Submitted by: sunpoet (myself)
Approved by: ehaupt (maintainer)
Modified:
head/net/socat/files/socat.in
Modified: head/net/socat/files/socat.in
==============================================================================
--- head/net/socat/files/socat.in Tue Feb 4 18:23:07 2014 (r342583)
+++ head/net/socat/files/socat.in Tue Feb 4 18:26:29 2014 (r342584)
@@ -24,9 +24,9 @@ load_rc_config $name
start_precmd="socat_prestart"
pidfile=/var/run/socat.pid
+procname="%%PREFIX%%/bin/socat"
command=/usr/sbin/daemon
-command_args=" -f -p ${pidfile} /usr/local/bin/socat ${socat_flags}"
-procname=/usr/local/bin/socat
+command_args=" -f -p ${pidfile} ${procname} ${socat_flags}"
socat_prestart()
{
More information about the svn-ports-head
mailing list