Build readline as universal; more useful that way.

master
Adam Vandenberg 2010-04-06 09:28:57 -07:00
parent e00d9678fb
commit 7736ddc92c
1 changed files with 2 additions and 7 deletions

View File

@ -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}",