diff options
| author | Jack Nagel | 2012-05-14 22:34:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-14 22:42:27 -0500 |
| commit | 90c8b8a0f04514094a8e47a2adb1a9237bb85636 (patch) | |
| tree | 9fa323ecb0a05f8693db4d6836cb5b493a0e128c /Library | |
| parent | aaab5746d86721f7f407f92fc457301750cb203e (diff) | |
| download | homebrew-90c8b8a0f04514094a8e47a2adb1a9237bb85636.tar.bz2 | |
ruby: autoconf dep for HEAD on Xcode 4.3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ruby.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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"] |
