aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcrypt-php.rb
diff options
context:
space:
mode:
authorThomas Bouve2012-02-04 10:22:52 +0100
committerAdam Vandenberg2012-02-04 08:08:09 -0800
commitb0e537935e91e81d008709b94f0af438f601333b (patch)
treeb97d75e19bbf6668883c8262c4e3944c7d7bea2e /Library/Formula/mcrypt-php.rb
parentc2b8e871db8477d4ff1396156d7794d50565f7cc (diff)
downloadhomebrew-b0e537935e91e81d008709b94f0af438f601333b.tar.bz2
mcrypt-php: find mcrypt in non-/usr/local/ locations
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mcrypt-php.rb')
-rw-r--r--Library/Formula/mcrypt-php.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/mcrypt-php.rb b/Library/Formula/mcrypt-php.rb
index bc78a2e43..4b2baa83d 100644
--- a/Library/Formula/mcrypt-php.rb
+++ b/Library/Formula/mcrypt-php.rb
@@ -12,7 +12,8 @@ class McryptPhp < Formula
Dir.chdir "ext/mcrypt"
system "phpize"
system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ "--prefix=#{prefix}",
+ "--with-mcrypt=#{Formula.factory('mcrypt').prefix}"
system "make"
prefix.install 'modules/mcrypt.so'
end