diff options
| author | Adam Vandenberg | 2013-05-06 10:28:42 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-06 10:28:42 -0700 |
| commit | 6591d25f43a83dbc7ca9ba43be5b7ca7ce6d47b2 (patch) | |
| tree | f677f5bcedb0d346e0c25ecb951ec08dc435b9e0 /Library | |
| parent | 1518d38aadbeb48507583c854235e1f77b1f75a1 (diff) | |
| download | homebrew-6591d25f43a83dbc7ca9ba43be5b7ca7ce6d47b2.tar.bz2 | |
rrdtool: fix finding tcl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rrdtool.rb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb index 560a8461c..cc58b9c1f 100644 --- a/Library/Formula/rrdtool.rb +++ b/Library/Formula/rrdtool.rb @@ -5,17 +5,12 @@ class Rrdtool < Formula url 'http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz' sha1 'faab7df7696b69f85d6f89dd9708d7cf0c9a273b' - option 'lua', "Compile with lua support" - depends_on 'pkg-config' => :build depends_on 'glib' depends_on 'pango' + depends_on 'lua' => :optional - # Can use lua if it is found, but don't force users to install - # TODO: Do something here - depends_on 'lua' if build.include? "lua" - - env :std # For perl, ruby + env :userpaths # For perl, ruby # Ha-ha, but sleeping is annoying when running configure a lot def patches; DATA; end @@ -32,6 +27,8 @@ class Rrdtool < Formula args = %W[ --disable-dependency-tracking --prefix=#{prefix} + --disable-tcl + --with-tcllib=/usr/lib ] args << "--enable-perl-site-install" if which_perl.to_s == "/usr/bin/perl" args << "--enable-ruby-site-install" if which_ruby.realpath == RUBY_PATH |
