From bcbae34226a1b7c3e0ad864e0c758ecbedc92400 Mon Sep 17 00:00:00 2001 From: John Marino Date: Mon, 5 Jan 2015 13:18:58 +0000 Subject: 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. --- mail/ovs/Makefile | 2 +- mail/ovs/files/ovs.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/ovs') diff --git a/mail/ovs/Makefile b/mail/ovs/Makefile index 28562e795226..7380a12eb2f8 100644 --- a/mail/ovs/Makefile +++ b/mail/ovs/Makefile @@ -3,7 +3,7 @@ PORTNAME= ovs PORTVERSION= 1.05 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://ftp.oav.net/openvisp/stats/ \ http://mirror.amdmi3.ru/distfiles/ diff --git a/mail/ovs/files/ovs.in b/mail/ovs/files/ovs.in index 8dabbc632342..573aee39c48a 100644 --- a/mail/ovs/files/ovs.in +++ b/mail/ovs/files/ovs.in @@ -17,7 +17,7 @@ rcvar=ovs_enable command=%%PREFIX%%/sbin/${name}.pl command_args='> /dev/null 2>&1' -command_interpreter=/usr/bin/perl +command_interpreter="%%PREFIX/bin/perl" stop_postcmd=stop_postcmd stop_postcmd() -- cgit v1.2.3