erlang: rewrite conditional for clarity

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Adam Vandenberg 2014-02-27 09:19:48 -08:00
parent 50d474bf62
commit 4fd8da1676
1 changed files with 3 additions and 1 deletions

View File

@ -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