diff --git a/Formula/erlang.rb b/Formula/erlang.rb index b59c278e4e8..1d8740026c0 100644 --- a/Formula/erlang.rb +++ b/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