From f9769d294d4935354311aec040ef24ebc7a33f64 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 1 Jul 2013 09:32:48 -0700 Subject: Monotone: use Boost 1.49 Closes #19851. --- Library/Formula/monotone.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Library/Formula') 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", -- cgit v1.2.3