From 9b8b9dfcad075a379ee5e17012a69992c6ddf083 Mon Sep 17 00:00:00 2001 From: Thomas Bouve Date: Sat, 4 Feb 2012 20:06:48 +0100 Subject: memcached-php: fix for non-/usr/local installs Closes #9975. Signed-off-by: Jack Nagel --- Library/Formula/memcached-php.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula/memcached-php.rb') 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 -- cgit v1.2.3