diff options
author | marino <marino@FreeBSD.org> | 2015-01-05 21:18:58 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-01-05 21:18:58 +0800 |
commit | b056360de76cfc3033ae24b8794ecbcfbe7df4db (patch) | |
tree | 56d81dc1bbc7e3109a4e452a2ac64bc8e2197a4e /mail/ovs | |
parent | 192e7b5540a09ba585c66ce7870a8ecee40c55fc (diff) | |
download | freebsd-ports-gnome-b056360de76cfc3033ae24b8794ecbcfbe7df4db.tar.gz freebsd-ports-gnome-b056360de76cfc3033ae24b8794ecbcfbe7df4db.tar.zst freebsd-ports-gnome-b056360de76cfc3033ae24b8794ecbcfbe7df4db.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.
Diffstat (limited to 'mail/ovs')
-rw-r--r-- | mail/ovs/Makefile | 2 | ||||
-rw-r--r-- | mail/ovs/files/ovs.in | 2 |
2 files changed, 2 insertions, 2 deletions
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() |