diff options
| author | Adam Vandenberg | 2010-03-17 09:29:49 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-03-17 09:29:49 -0700 |
| commit | 5cfb353f80d3716033b79e431603af9ae766845a (patch) | |
| tree | a41e6dfcf16dcda62f404c7ad1c98e8e05b8a54b /Library/Formula | |
| parent | 2c5459e34c663d9173dbec72bee42d2eb2d3d564 (diff) | |
| download | homebrew-5cfb353f80d3716033b79e431603af9ae766845a.tar.bz2 | |
Add a --universal option to readline.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/readline.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/readline.rb b/Library/Formula/readline.rb index 84fa40876..7d90fd5f5 100644 --- a/Library/Formula/readline.rb +++ b/Library/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}", |
