aboutsummaryrefslogtreecommitdiff
path: root/sysutils/backuppc
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 /sysutils/backuppc
parent058ade94e8bfd2d492a28818ad434c5aa4e1d4fa (diff)
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 'sysutils/backuppc')
-rw-r--r--sysutils/backuppc/Makefile2
-rw-r--r--sysutils/backuppc/files/backuppc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/backuppc/Makefile b/sysutils/backuppc/Makefile
index bb3b916d447d..43cb75377eb9 100644
--- a/sysutils/backuppc/Makefile
+++ b/sysutils/backuppc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= backuppc
PORTVERSION= 3.3.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
diff --git a/sysutils/backuppc/files/backuppc.in b/sysutils/backuppc/files/backuppc.in
index 1d9640345d1a..02568d9ad7b4 100644
--- a/sysutils/backuppc/files/backuppc.in
+++ b/sysutils/backuppc/files/backuppc.in
@@ -20,7 +20,7 @@ load_rc_config $name
: ${backuppc_group:="backuppc"}
: ${backuppc_config:="%%ETCDIR%%/config.pl"}
-command_interpreter="/usr/bin/perl"
+command_interpreter="%%PREFIX%%/bin/perl"
command="%%PREFIX%%/bin/BackupPC"
required_files="${backuppc_config}"