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 /dns | |
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 'dns')
-rw-r--r-- | dns/bindgraph/Makefile | 2 | ||||
-rw-r--r-- | dns/bindgraph/files/bindgraph.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dns/bindgraph/Makefile b/dns/bindgraph/Makefile index 856330e7dd73..34e39668bc5a 100644 --- a/dns/bindgraph/Makefile +++ b/dns/bindgraph/Makefile @@ -3,7 +3,7 @@ PORTNAME= bindgraph PORTVERSION= 0.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= dns MASTER_SITES= http://www.linux.it/~md/software/ diff --git a/dns/bindgraph/files/bindgraph.in b/dns/bindgraph/files/bindgraph.in index 42f4f4315bf2..a84640a8c1ab 100644 --- a/dns/bindgraph/files/bindgraph.in +++ b/dns/bindgraph/files/bindgraph.in @@ -17,7 +17,7 @@ rcvar=bindgraph_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() |