diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-02-15 15:09:14 +0800 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-02-15 15:09:14 +0800 |
commit | 11b40bc0dfb3da9ed5e3d7f25dfe421a4b1cedbf (patch) | |
tree | 7b195b8982e2802ddfa254b1f4a8be3d5a7c4317 /mail | |
parent | 9a8bde76eec0c193266181aa2030b0190ef57982 (diff) | |
download | freebsd-ports-gnome-11b40bc0dfb3da9ed5e3d7f25dfe421a4b1cedbf.tar.gz freebsd-ports-gnome-11b40bc0dfb3da9ed5e3d7f25dfe421a4b1cedbf.tar.zst freebsd-ports-gnome-11b40bc0dfb3da9ed5e3d7f25dfe421a4b1cedbf.zip |
Fix the source-provided rc.d script to not use set_rcvar
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mimedefang/files/patch-examples__init-script.in | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/mimedefang/files/patch-examples__init-script.in b/mail/mimedefang/files/patch-examples__init-script.in index 54e34a2a1763..4ad16ff7039d 100644 --- a/mail/mimedefang/files/patch-examples__init-script.in +++ b/mail/mimedefang/files/patch-examples__init-script.in @@ -1,5 +1,5 @@ ---- examples/init-script.in.orig 2010-06-30 01:50:32.000000000 +0400 -+++ examples/init-script.in 2011-12-14 00:40:09.284988761 +0400 +--- examples/init-script.in.orig 2010-06-29 14:50:32.000000000 -0700 ++++ examples/init-script.in 2012-02-14 23:06:37.000000000 -0800 @@ -39,6 +39,12 @@ # The socket used by mimedefang to communicate with sendmail # SOCKET=$SPOOLDIR/mimedefang.sock @@ -27,6 +27,15 @@ # If you want to use the "notification" facility, set the appropriate port. # See the mimedefang-notify man page for details. +@@ -183,7 +189,7 @@ + . /etc/rc.subr + + name=$prog +- rcvar=`set_rcvar` ++ rcvar=${prog}_enable + # default to not enabled, enable in rc.conf + eval $rcvar=\${$rcvar:-NO} + @@ -193,6 +199,7 @@ procname=$PROGDIR/$prog-multiplexor start_cmd="start_it" |