aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-09-22 16:13:26 +0100
committerMax Howell2009-09-22 19:56:23 +0100
commit10b1f9404c37f87a73bacf32b9ac91a5f7442653 (patch)
treef7ada084a523806f41bb2749f0e84065ac35d3a5 /Library/Formula
parentaa34166af85939e35481f8ef856574cc52a8fa70 (diff)
downloadhomebrew-10b1f9404c37f87a73bacf32b9ac91a5f7442653.tar.bz2
Fix readline on Snow Leopard
The patches broke the build.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/readline.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/readline.rb b/Library/Formula/readline.rb
index 03d861fd0..613e1cf32 100644
--- a/Library/Formula/readline.rb
+++ b/Library/Formula/readline.rb
@@ -13,7 +13,9 @@ to keg-only.
end
def patches
- (1..4).collect {|n| "ftp://ftp.gnu.org/gnu/readline/readline-6.0-patches/readline60-%03d"%n}
+ if MACOS_VERSION == 10.5
+ (1..4).collect {|n| "ftp://ftp.gnu.org/gnu/readline/readline-6.0-patches/readline60-%03d"%n}
+ end
end
def install