aboutsummaryrefslogtreecommitdiff
path: root/japanese
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 /japanese
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 'japanese')
-rw-r--r--japanese/tiarra/Makefile2
-rw-r--r--japanese/tiarra/files/tiarra.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/japanese/tiarra/Makefile b/japanese/tiarra/Makefile
index 50d3ff8f69fb..e8e46b3b5e75 100644
--- a/japanese/tiarra/Makefile
+++ b/japanese/tiarra/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tiarra
PORTVERSION= 20100212
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= japanese irc ipv6
MASTER_SITES= http://www.clovery.jp/tiarra/archive/2010/02/
diff --git a/japanese/tiarra/files/tiarra.in b/japanese/tiarra/files/tiarra.in
index 2346e2fba107..2a46ceef38d7 100644
--- a/japanese/tiarra/files/tiarra.in
+++ b/japanese/tiarra/files/tiarra.in
@@ -21,7 +21,7 @@ tiarra_user=${tiarra_user:-"%%TIARRA_USER%%"}
tiarra_chdir=${tiarra_chdir:-"%%PREFIX%%/${name}"}
command="${tiarra_chdir}/${name}"
-command_interpreter="/usr/bin/perl"
+command_interpreter="%%PREFIX%%/bin/perl"
required_dirs="${tiarra_chdir}"
required_files="${tiarra_chdir}/${name}.conf"
extra_commands="reload"