aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/memcached-php.rb
diff options
context:
space:
mode:
authorThomas Bouve2012-02-04 20:06:48 +0100
committerJack Nagel2012-02-04 13:46:31 -0600
commit9b8b9dfcad075a379ee5e17012a69992c6ddf083 (patch)
treeea618031452ac2eddfb436059e868d8419f68641 /Library/Formula/memcached-php.rb
parent835e93dddd3bc363ba106236ccc995b3ce3bdf4c (diff)
downloadhomebrew-9b8b9dfcad075a379ee5e17012a69992c6ddf083.tar.bz2
memcached-php: fix for non-/usr/local installs
Closes #9975. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/memcached-php.rb')
-rw-r--r--Library/Formula/memcached-php.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/memcached-php.rb b/Library/Formula/memcached-php.rb
index d3c091d5c..9ed8edee8 100644
--- a/Library/Formula/memcached-php.rb
+++ b/Library/Formula/memcached-php.rb
@@ -10,7 +10,8 @@ class MemcachedPhp < Formula
def install
Dir.chdir "memcached-#{version}" do
system "phpize"
- system "./configure", "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}",
+ "--with-libmemcached-dir=#{Formula.factory('libmemcached').prefix}"
system "make"
prefix.install 'modules/memcached.so'
end