Skip to content

Instantly share code, notes, and snippets.

@lgrz
Created May 21, 2012 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgrz/2760445 to your computer and use it in GitHub Desktop.
Save lgrz/2760445 to your computer and use it in GitHub Desktop.
php54 patch problem
diff --git a/Formula/php54.rb b/Formula/php54.rb
index 675273f..835b5bb 100644
--- a/Formula/php54.rb
+++ b/Formula/php54.rb
@@ -79,8 +79,8 @@ class Php54 < Formula
def patches
# Tidy extension and Makefile (for OS 10.5.x) patches in DATA.
- p = [DATA]
- p << "http://download.suhosin.org/suhosin-patch-5.3.9-0.9.10.patch.gz" if ARGV.include? '--with-suhosin'
+ p = "http://download.suhosin.org/suhosin-patch-5.3.9-0.9.10.patch.gz" if ARGV.include? '--with-suhosin'
+ p << [DATA] if MacOS.leopard?
return p
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment