aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/monotone.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/monotone.rb b/Library/Formula/monotone.rb
index cb5183cc8..79af0fc6f 100644
--- a/Library/Formula/monotone.rb
+++ b/Library/Formula/monotone.rb
@@ -39,10 +39,14 @@ class Monotone < Formula
# building boost (which takes approximately forever) if it's not already installed.
# This is suggested in the Monotone installation instructions.
+ boost_prefix = buildpath/'boost'
boost = Formula.factory('boost')
unless boost.installed?
- # Add header location to CPPFLAGS
- boost.brew { ENV.append "CPPFLAGS", "-I#{buildpath}" }
+ boost.brew do
+ boost_prefix.install Dir['*']
+ # Add header location to CPPFLAGS
+ ENV.append 'CPPFLAGS', "-I#{boost_prefix}"
+ end
end
system "./configure", "--disable-dependency-tracking",