diff options
| author | Adam Vandenberg | 2011-06-08 14:48:46 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-08 14:48:46 -0700 |
| commit | e126d1cef75953b49f5b836da39cb23dc2d60ac9 (patch) | |
| tree | 3ff55dc309eebc74a8bb4f8271476fb6ddc8f31e /Library/Formula | |
| parent | e4dd52e9de628a426131e2c6845edc52b4f8dbdb (diff) | |
| download | homebrew-e126d1cef75953b49f5b836da39cb23dc2d60ac9.tar.bz2 | |
xdebug: fix for Zend Server
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xdebug.rb | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Library/Formula/xdebug.rb b/Library/Formula/xdebug.rb index d0c521ae0..1b048422b 100644 --- a/Library/Formula/xdebug.rb +++ b/Library/Formula/xdebug.rb @@ -8,7 +8,7 @@ class Xdebug < Formula def install Dir.chdir "xdebug-#{version}" do # See https://github.com/mxcl/homebrew/issues/issue/69 - ENV.universal_binary unless Hardware.is_64_bit? + ENV.universal_binary system "phpize" system "./configure", "--disable-debug", "--disable-dependency-tracking", @@ -19,15 +19,14 @@ class Xdebug < Formula end end - def caveats - <<-EOS -To use this software: - * Add the following line to php.ini: - zend_extension="#{prefix}/xdebug.so" - * 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! - EOS + def caveats; <<-EOS.undent + To use this software: + * Add the following line to php.ini: + zend_extension="#{prefix}/xdebug.so" + * 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! + EOS end end |
