aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-03-13 08:41:53 +0000
committerMike McQuaid2013-03-13 08:43:21 +0000
commit9d6c9212d43a9ba4a369506210606ada17c48db3 (patch)
tree1b7fa9898ef936b585264a5f77b328b6aa19c237 /Library
parent667e8fbd9a00329f08bbf30862d1fd36be7eccc8 (diff)
downloadhomebrew-9d6c9212d43a9ba4a369506210606ada17c48db3.tar.bz2
ruby-build: add autoconf and pkg-config deps.
When compiling ruby versions with ruby-build (and of course, rbenv) from a brand new Mountain Lion (10.8.2) setup and no other formulas, the build process fails by missing autoconf and pkg-config. Tested with ruby v2.0.0-dev and v1.9.3-p385. Thanks to Pierre Paridans. Closes #18016.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ruby-build.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/ruby-build.rb b/Library/Formula/ruby-build.rb
index d98376ad8..f8fd3cc8d 100644
--- a/Library/Formula/ruby-build.rb
+++ b/Library/Formula/ruby-build.rb
@@ -7,6 +7,9 @@ class RubyBuild < Formula
head 'https://github.com/sstephenson/ruby-build.git'
+ depends_on 'autoconf' => :recommended
+ depends_on 'pkg-config' => :recommended
+
def install
ENV['PREFIX'] = prefix
system "./install.sh"