diff --git a/Formula/readline.rb b/Formula/readline.rb index 84fa408766..7d90fd5f59 100644 --- a/Formula/readline.rb +++ b/Formula/readline.rb @@ -12,12 +12,19 @@ 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" system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--infodir=#{info}",