erlang: Fix for Xcode-only (disable dtrace)

This commit is contained in:
Samuel John 2013-03-18 12:44:23 +01:00
parent 0318e67f48
commit 06eca1c053

View file

@ -67,7 +67,7 @@ class Erlang < Formula
"--enable-shared-zlib",
"--enable-smp-support"]
args << "--with-dynamic-trace=dtrace" unless MacOS.version == :leopard
args << "--with-dynamic-trace=dtrace" unless MacOS.version == :leopard or not MacOS::CLT.installed?
unless build.include? 'disable-hipe'
# HIPE doesn't strike me as that reliable on OS X