mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
gearman: use Formula[]
This commit is contained in:
1 parent
65d204b772
commit
454ec60a98
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user