Skip to content
Browse files

ruby: autoconf dep for HEAD on Xcode 4.3

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent aaab574 commit 90c8b8a0f04514094a8e47a2adb1a9237bb85636 @jacknagel jacknagel committed May 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Library/Formula/ruby.rb
View
3 Library/Formula/ruby.rb
@@ -7,6 +7,7 @@ class Ruby < Formula
head 'http://svn.ruby-lang.org/repos/ruby/trunk/'
+ depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3 and ARGV.build_head?
depends_on 'pkg-config' => :build
depends_on 'readline'
depends_on 'gdbm'
@@ -44,7 +45,7 @@ def install
exit 1
end
- system "autoconf" unless File.exists? 'configure'
+ system "autoconf" if ARGV.build_head?
args = ["--prefix=#{prefix}",
"--enable-shared"]

0 comments on commit 90c8b8a

Please sign in to comment.
Something went wrong with that request. Please try again.