rrdtool: document Perl binding location

In case a user has a local Perl install (e.g. from PerlBrew) then
the installer does not by default install the RRDtool binding
for this Perl installation. It picks the system Perl version
instead. This patch documents in the warning message how to
install the RRDtool binding for the user-provided Perl.

Closes Homebrew/homebrew#21564.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Lieven Hollevoet 2013-07-31 11:30:38 +02:00 committed by Adam Vandenberg
parent 4dd4be5240
commit f3d3e85d6f

View file

@ -22,7 +22,7 @@ class Rrdtool < Formula
which_ruby = which 'ruby'
opoo "Using system Ruby. RRD module will be installed to /Library/Ruby/..." if which_ruby.realpath == RUBY_PATH
opoo "Using system Perl. RRD module will be installed to /Library/Perl/..." if which_perl.to_s == "/usr/bin/perl"
opoo "Using system Perl. RRD module will be installed to /Library/Perl/... If you want to install for your default Perl instead run 'brew install rrdtool --env=std'" if which_perl.to_s == "/usr/bin/perl"
args = %W[
--disable-dependency-tracking