Add a --universal option to readline.
This commit is contained in:
parent
7dee04f880
commit
052b5f3f97
1 changed files with 7 additions and 0 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue