diff options
| author | Adam Vandenberg | 2011-03-30 16:33:27 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-30 16:34:03 -0700 |
| commit | 69c89a5b4300488e2bce5345972b51f60410cdf6 (patch) | |
| tree | 94cc991b46dcf8b5128438812c3998e17585c0cd | |
| parent | f612b8cbca4228231c953c745ff5a95370cacb84 (diff) | |
| download | homebrew-69c89a5b4300488e2bce5345972b51f60410cdf6.tar.bz2 | |
monotone - fix sha1 and clean formula
| -rw-r--r-- | Library/Formula/monotone.rb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/monotone.rb b/Library/Formula/monotone.rb index c267cb967..7dece6913 100644 --- a/Library/Formula/monotone.rb +++ b/Library/Formula/monotone.rb @@ -3,7 +3,7 @@ require 'formula' class Monotone < Formula homepage 'http://monotone.ca/' url 'http://www.monotone.ca/downloads/1.0/monotone-1.0.tar.bz2' - sha1 '7f82e1c1e852005b7f7de93c8892e371869ea418' + sha1 'aac556bb26d92910b74b65450a0be6c5045e2052' depends_on 'pkg-config' => :build depends_on 'gettext' @@ -16,18 +16,16 @@ class Monotone < Formula def install # Monotone only needs headers from Boost (it's templates all the way down!), so let's avoid - # building boost (which takes approximately forever) if it's not already installed. This is - # suggested in the Monotone installation instructions. + # building boost (which takes approximately forever) if it's not already installed. + # This is suggested in the Monotone installation instructions. boost = Formula.factory('boost') unless boost.installed? - # a formula's stage method is private, so we cannot call boost.stage - boost.brew do - ENV.append "CXXFLAGS", "-I"+Dir.pwd - end + # Add header location to CPPFLAGS + boost.brew { ENV.append "CXXFLAGS", "-I"+Dir.pwd } end - system "./configure", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end |
