aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/xdebug.rb15
1 files changed, 9 insertions, 6 deletions
diff --git a/Library/Formula/xdebug.rb b/Library/Formula/xdebug.rb
index ec4040c62..fb93308ef 100644
--- a/Library/Formula/xdebug.rb
+++ b/Library/Formula/xdebug.rb
@@ -7,6 +7,9 @@ class Xdebug <Formula
def install
Dir.chdir 'xdebug-2.0.5' do
+ # See http://github.com/mxcl/homebrew/issues/#issue/69
+ ENV.universal_binary unless Hardware.is_64_bit?
+
system "phpize"
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking",
"--enable-xdebug"
@@ -17,14 +20,14 @@ class Xdebug <Formula
def caveats
<<-END_CAVEATS
- Add the following line to php.ini:
- zend_extension="#{prefix}/xdebug.so"
+Add the following line to php.ini:
+
+ zend_extension="#{prefix}/xdebug.so"
- Restart your webserver.
+Restart your webserver.
- Write a PHP page that calls "phpinfo();" Load it in a browser and
- look for the info on the xdebug module. If you see it, you have been
- successful!
+Write a PHP page that calls "phpinfo();" Load it in a browser and look for the
+info on the xdebug module. If you see it, you have been successful!
END_CAVEATS
end
end