aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel John2013-03-18 14:23:54 +0100
committerSamuel John2013-03-18 14:23:54 +0100
commit60001e455b86a4460740a4a3f7e1630ecd74cb67 (patch)
tree39d17444a811bd52454cc42f5b3203dc05b75af3 /Library/Formula
parentf0f9ebeebc2a32d6b7f2dae3e9d4a94120232821 (diff)
downloadhomebrew-60001e455b86a4460740a4a3f7e1630ecd74cb67.tar.bz2
ruby: Disable dtrace on Xcode-only
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ruby.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index d810280af..64afe8df5 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -39,6 +39,7 @@ class Ruby < Formula
args << "--with-arch=x86_64,i386" if build.universal?
args << "--disable-tcltk-framework" << "--with-out-ext=tcl" << "--with-out-ext=tk" unless build.include? "with-tcltk"
args << "--disable-install-doc" unless build.include? "with-doc"
+ args << "--disable-dtrace" unless MacOS::CLT.installed?
# OpenSSL is deprecated on OS X 10.8 and Ruby can't find the outdated
# version (0.9.8r 8 Feb 2011) that ships with the system.