diff options
author | John Marino <marino@FreeBSD.org> | 2015-01-05 13:18:58 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-01-05 13:18:58 +0000 |
commit | bcbae34226a1b7c3e0ad864e0c758ecbedc92400 (patch) | |
tree | 56d81dc1bbc7e3109a4e452a2ac64bc8e2197a4e /japanese/tiarra | |
parent | 058ade94e8bfd2d492a28818ad434c5aa4e1d4fa (diff) | |
download | freebsd-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.
Diffstat (limited to 'japanese/tiarra')
-rw-r--r-- | japanese/tiarra/Makefile | 2 | ||||
-rw-r--r-- | japanese/tiarra/files/tiarra.in | 2 |
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" |