aboutsummaryrefslogtreecommitdiff
path: root/mail/couriergraph
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-01-05 13:18:58 +0000
committerJohn Marino <marino@FreeBSD.org>2015-01-05 13:18:58 +0000
commitbcbae34226a1b7c3e0ad864e0c758ecbedc92400 (patch)
tree56d81dc1bbc7e3109a4e452a2ac64bc8e2197a4e /mail/couriergraph
parent058ade94e8bfd2d492a28818ad434c5aa4e1d4fa (diff)
downloadports-bcbae34226a1b7c3e0ad864e0c758ecbedc92400.tar.gz
ports-bcbae34226a1b7c3e0ad864e0c758ecbedc92400.zip
change command_interpreter from /usr/bin/perl to ${PREFIX}/bin/perl
Several ports had rc.d scripts with hardcoded command_interpreter string as /usr/bin/perl. This symlink is not guaranteed to be in place, and it isn't even an option for perl 5.20. For affected ports, the interpreter was changed to localbase. In one case, the interpreter was correct, but it wasn't surround by quotes. Since the rc.d script would break if a space was contained in ${PREFIX}, quotes were added in that case.
Notes
Notes: svn path=/head/; revision=376298
Diffstat (limited to 'mail/couriergraph')
-rw-r--r--mail/couriergraph/Makefile2
-rw-r--r--mail/couriergraph/files/couriergraph.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/couriergraph/Makefile b/mail/couriergraph/Makefile
index 82328554b1a0..81199f3d0fb3 100644
--- a/mail/couriergraph/Makefile
+++ b/mail/couriergraph/Makefile
@@ -3,7 +3,7 @@
PORTNAME= couriergraph
PORTVERSION= 20060202
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= mail
MASTER_SITES= http://www.arschkrebs.de/postfix/${PORTNAME}/
DISTNAME= ${PORTNAME}
diff --git a/mail/couriergraph/files/couriergraph.in b/mail/couriergraph/files/couriergraph.in
index 82297160f005..430a64c3078b 100644
--- a/mail/couriergraph/files/couriergraph.in
+++ b/mail/couriergraph/files/couriergraph.in
@@ -18,7 +18,7 @@ rcvar=couriergraph_enable
command=%%PREFIX%%/sbin/couriergraph.pl
command_args='> /dev/null 2>&1'
-command_interpreter=/usr/bin/perl
+command_interpreter="%%PREFIX%%/bin/perl"
stop_postcmd=stop_postcmd
stop_postcmd()