aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-05-02 13:56:50 -0500
committerJack Nagel2012-05-02 13:57:33 -0500
commita68610b098eb8974f5fc8f43c17119c8efbc9e47 (patch)
treea0cf9d29cd1587f96e29cf202454ad6a7dbcc912 /Library
parent144fe782b23ee6296475161a0e3ca9134c07dd65 (diff)
downloadhomebrew-a68610b098eb8974f5fc8f43c17119c8efbc9e47.tar.bz2
monotone: fix installation without pre-installed Boost
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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",