diff options
| author | Adam Vandenberg | 2013-07-01 09:32:48 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-01 09:32:48 -0700 |
| commit | f9769d294d4935354311aec040ef24ebc7a33f64 (patch) | |
| tree | 9cabbb5f93be91cf294722c7f5b0e79750b2dabf /Library/Formula/monotone.rb | |
| parent | f9e29b63090b40982cbf71620deea0332a424ac7 (diff) | |
| download | homebrew-f9769d294d4935354311aec040ef24ebc7a33f64.tar.bz2 | |
Monotone: use Boost 1.49
Closes #19851.
Diffstat (limited to 'Library/Formula/monotone.rb')
| -rw-r--r-- | Library/Formula/monotone.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/monotone.rb b/Library/Formula/monotone.rb index 0f45ea2fa..899af6c70 100644 --- a/Library/Formula/monotone.rb +++ b/Library/Formula/monotone.rb @@ -35,18 +35,16 @@ class Monotone < Formula ENV['botan_CFLAGS'] = "-I#{botan18_prefix}/include" ENV['botan_LIBS'] = "-L#{botan18_prefix}/lib -lbotan" - # 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. + # Monotone only needs headers from Boost (it's templates all the way down!), + # so let's avoid building boost. # This is suggested in the Monotone installation instructions. boost_prefix = buildpath/'boost' - boost = Formula.factory('boost') - unless boost.installed? - boost.brew do - boost_prefix.install Dir['*'] - # Add header location to CPPFLAGS - ENV.append 'CPPFLAGS', "-I#{boost_prefix}" - end + boost = Formula.factory('boost149') + boost.brew do + boost_prefix.install Dir['*'] + # Add header location to CPPFLAGS + ENV.append 'CPPFLAGS', "-I#{boost_prefix}" end system "./configure", "--disable-dependency-tracking", |
