Permalink
Browse files

memcached-php: fix for non-/usr/local installs

Closes #9975.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent 0e50001 commit ac1e69323b200539353bee1344d7d0ee97a6995c Thomas Bouve committed with jacknagel Feb 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Formula/memcached-php.rb
View
@@ -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

0 comments on commit ac1e693

Please sign in to comment.