diff options
| author | Jack Nagel | 2013-02-06 19:35:03 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-06 19:35:03 -0600 |
| commit | 4adc97452ed56e44cf968900a5965699ff90d390 (patch) | |
| tree | 6a4d0a2812abd544dd6631f522512f87abda9ca2 /Library/Formula | |
| parent | b8eb18020c07dcb9dc1ac39eb5b6f4bbfe1afac9 (diff) | |
| download | homebrew-4adc97452ed56e44cf968900a5965699ff90d390.tar.bz2 | |
ruby: needs newer autoconf for universal build
Fixes #17640.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ruby.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index ac552535b..89e5133b2 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -14,7 +14,12 @@ class Ruby < Formula option 'with-doc', 'Install documentation' option 'with-tcltk', 'Install with Tcl/Tk support' - depends_on :autoconf if build.head? + if build.universal? + depends_on 'autoconf' => :build + elsif build.head? + depends_on :autoconf + end + depends_on 'pkg-config' => :build depends_on 'readline' depends_on 'gdbm' |
