aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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