From 7736ddc92c0ce8bf8599109a34dd99faa83ac881 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 6 Apr 2010 09:28:57 -0700 Subject: [PATCH] Build readline as universal; more useful that way. --- Formula/readline.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Formula/readline.rb b/Formula/readline.rb index 7d90fd5f59..14654ff6df 100644 --- a/Formula/readline.rb +++ b/Formula/readline.rb @@ -12,19 +12,14 @@ to keg-only. EOS end - def options - [ - ["--universal", "Build both i386 and x86_64."] - ] - end - def patches patches = (1..4).collect { |n| "ftp://ftp.gnu.org/gnu/readline/readline-6.0-patches/readline60-%03d"%n } { :p0 => patches } end def install - ENV.universal_binary if ARGV.include? "--universal" + # Always build universal, per http://github.com/mxcl/homebrew/issues/issue/899 + ENV.universal_binary system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--infodir=#{info}",