diff options
Diffstat (limited to 'Library')
| -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 |
