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