diff options
| author | Jack Nagel | 2014-03-28 15:13:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-28 15:13:47 -0500 |
| commit | 88dc30803bab3687dc0d0cb14f8b72819ab98eeb (patch) | |
| tree | e341914e288314838555cb0116102451648019ea /Library/Formula | |
| parent | 139f93b7e1020763003b4a10ed738f954910229c (diff) | |
| download | homebrew-88dc30803bab3687dc0d0cb14f8b72819ab98eeb.tar.bz2 | |
rrdtool: disable site-install
This behavior leads to files being installed outside of the Cellar.
Patches are welcome to improve the packaging of these bindings, but for
now we have to disable this.
Closes #27767.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rrdtool.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb index 838aab8ca..fd38977d3 100644 --- a/Library/Formula/rrdtool.rb +++ b/Library/Formula/rrdtool.rb @@ -18,20 +18,14 @@ class Rrdtool < Formula def install ENV.libxml2 - which_perl = which 'perl' - 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 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 --prefix=#{prefix} --disable-tcl --with-tcllib=/usr/lib + --disable-perl-site-install + --disable-ruby-site-install ] - args << "--enable-perl-site-install" if which_perl.to_s == "/usr/bin/perl" - args << "--enable-ruby-site-install" if which_ruby.realpath == RUBY_PATH system "./configure", *args |
