From 90c8b8a0f04514094a8e47a2adb1a9237bb85636 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 14 May 2012 22:34:59 -0500 Subject: ruby: autoconf dep for HEAD on Xcode 4.3 Signed-off-by: Jack Nagel --- Library/Formula/ruby.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index 593987f9b..7d0e13da5 100644 --- a/Library/Formula/ruby.rb +++ b/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 @@ class Ruby < Formula exit 1 end - system "autoconf" unless File.exists? 'configure' + system "autoconf" if ARGV.build_head? args = ["--prefix=#{prefix}", "--enable-shared"] -- cgit v1.2.3