Permalink
Browse files

Fixed python2.4 to compile on Lion

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 0fd609e commit f67d77e4f2b51f282d5b8013e031bc900fe93cf3 @jezdez jezdez committed with adamv Feb 11, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 versions/python24.rb
@@ -12,6 +12,13 @@ class Python24 < Formula
# skip lib because it is mostly Python files
skip_clean ['bin', 'lib']
+ # Fixed to compile on Lion by reusing a patch from the Plone guys.
+ def patches
+ {:p0 => [
+ "https://raw.github.com/collective/buildout.python/master/src/python-2.4-darwin-10.6.patch"
+ ]}
+ end
+
def prefix_site_packages
# The HOMEBREW_PREFIX location of site-packages
HOMEBREW_PREFIX + "lib/python2.4/site-packages"

0 comments on commit f67d77e

Please sign in to comment.