From 7754e27f1f524ed9f09a514039d840244f20ac59 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 22 Sep 2009 16:13:26 +0100 Subject: [PATCH] Fix readline on Snow Leopard The patches broke the build. --- Formula/readline.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/readline.rb b/Formula/readline.rb index 03d861fd017..613e1cf323a 100644 --- a/Formula/readline.rb +++ b/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