aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/erlang.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index b59c278e4..1d8740026 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -65,7 +65,9 @@ class Erlang < Formula
--enable-smp-support
]
- args << "--with-dynamic-trace=dtrace" unless MacOS.version <= :leopard or not MacOS::CLT.installed?
+ if MacOS.version >= :snow_leopard and MacOS::CLT.installed?
+ args << "--with-dynamic-trace=dtrace"
+ end
unless build.include? 'disable-hipe'
# HIPE doesn't strike me as that reliable on OS X