diff options
Diffstat (limited to 'Library/Formula/ruby.rb')
| -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' |
