aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 20:38:53 -0800
committerAdam Vandenberg2014-02-27 08:21:15 -0800
commit734d0cd813bdbf58fa8ad5830a0a3374838ed0ab (patch)
tree58b2001a292325cda2728864e94a4faa1a68c2a5 /Library/Formula
parent2fed9de643bf6a77fd99a337170aa409dc634497 (diff)
downloadhomebrew-734d0cd813bdbf58fa8ad5830a0a3374838ed0ab.tar.bz2
boost: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/boost.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb
index cf6d5dc9b..09162e51e 100644
--- a/Library/Formula/boost.rb
+++ b/Library/Formula/boost.rb
@@ -115,7 +115,7 @@ class Boost < Formula
bargs = ["--prefix=#{prefix}", "--libdir=#{lib}"]
if build.with? 'icu'
- icu4c_prefix = Formula.factory('icu4c').opt_prefix
+ icu4c_prefix = Formula['icu4c'].opt_prefix
bargs << "--with-icu=#{icu4c_prefix}"
else
bargs << '--without-icu'
@@ -187,7 +187,7 @@ class Boost < Formula
EOS
end
- if pour_bottle? and Formula.factory('python').installed?
+ if pour_bottle? and Formula['python'].installed?
s += <<-EOS.undent
The Boost bottle's module will not import into a Homebrew-installed Python.