aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 21:55:21 -0800
committerAdam Vandenberg2014-02-27 08:21:17 -0800
commit454ec60a9840ba6ec375a9c3ac98f2decdff956c (patch)
tree4b89402935a9ce7a58a8b52ec83c00687c290e07 /Library/Formula
parent65d204b772b1a14257d69395adb6a91af250e87e (diff)
downloadhomebrew-454ec60a9840ba6ec375a9c3ac98f2decdff956c.tar.bz2
gearman: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gearman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb
index d029c71a9..37a976835 100644
--- a/Library/Formula/gearman.rb
+++ b/Library/Formula/gearman.rb
@@ -19,7 +19,7 @@ class Gearman < Formula
args = ["--prefix=#{prefix}"]
args << "--without-mysql" unless build.with? 'mysql'
if build.with? 'postgresql'
- pg_config = "#{Formula.factory('postgresql').opt_prefix}/bin/pg_config"
+ pg_config = "#{Formula['postgresql'].opt_prefix}/bin/pg_config"
args << "--with-postgresql=#{pg_config}"
end
system "./configure", *args