aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorThomas Bouve2012-02-06 20:27:34 +0100
committerJack Nagel2012-02-06 15:13:23 -0600
commit122fbb40288dc000da719ed0833cf2760f847643 (patch)
tree63acf78e22975fc9dad11a3fa02bc42f51467028 /Library
parent4cbb3f469a0fe4f5d0a6bba0779d6aa44bc21b98 (diff)
downloadhomebrew-122fbb40288dc000da719ed0833cf2760f847643.tar.bz2
gearman-php: fix for non-/usr/local installs
Closes #10012. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gearman-php.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/gearman-php.rb b/Library/Formula/gearman-php.rb
index 8c875f795..a597f6047 100644
--- a/Library/Formula/gearman-php.rb
+++ b/Library/Formula/gearman-php.rb
@@ -10,7 +10,8 @@ class GearmanPhp < Formula
def install
Dir.chdir "gearman-#{version}" do
system "phpize"
- system "./configure", "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}",
+ "--with-gearman=#{Formula.factory('gearman').prefix}"
system "make"
prefix.install 'modules/gearman.so'
end