Permalink
Browse files

mcrypt-php: find mcrypt in non-/usr/local/ locations

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 3a55fec commit 0e5000166bf95162f89a02458fce96a43184f59d Thomas Bouve committed with adamv Feb 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Formula/mcrypt-php.rb
View
@@ -12,7 +12,8 @@ def install
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

0 comments on commit 0e50001

Please sign in to comment.