aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorStephan Zeissler2012-09-02 02:04:10 +0200
committerAdam Vandenberg2012-09-01 18:32:50 -0700
commitfdf9f33fd730b04160d414530118b6c7b01629d6 (patch)
tree80990576086c19dace8e18e74a77c47589f61f16 /Library/Formula
parent89ace3d6d9292cab2d5c64cc2818b962d6bf52c5 (diff)
downloadhomebrew-fdf9f33fd730b04160d414530118b6c7b01629d6.tar.bz2
Do not build erlang with dtrace on leopard
Closes #14628. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/erlang.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 105c4f816..2839fc7ab 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -74,8 +74,9 @@ class Erlang < Formula
"--enable-threads",
"--enable-dynamic-ssl-lib",
"--enable-shared-zlib",
- "--enable-smp-support",
- "--with-dynamic-trace=dtrace"]
+ "--enable-smp-support"]
+
+ args << "--with-dynamic-trace=dtrace" unless MacOS.leopard?
unless build.include? 'disable-hipe'
# HIPE doesn't strike me as that reliable on OS X