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 /sysutils/backuppc-devel | |
parent | - Update to upstream version 1.4.2 (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-devel')
-rw-r--r-- | sysutils/backuppc-devel/Makefile | 1 | ||||
-rw-r--r-- | sysutils/backuppc-devel/files/backuppc.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/backuppc-devel/Makefile b/sysutils/backuppc-devel/Makefile index 6d8104487c10..42f728a782fb 100644 --- a/sysutils/backuppc-devel/Makefile +++ b/sysutils/backuppc-devel/Makefile @@ -4,6 +4,7 @@ PORTNAME= backuppc DISTVERSION= 4.0.0alpha3 CATEGORIES= sysutils +PORTREVISION= 1 MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-beta/${DISTVERSION} PKGNAMESUFFIX= -devel diff --git a/sysutils/backuppc-devel/files/backuppc.in b/sysutils/backuppc-devel/files/backuppc.in index 500d3a4335c7..9b73df7c2522 100644 --- a/sysutils/backuppc-devel/files/backuppc.in +++ b/sysutils/backuppc-devel/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}" |