Do not build erlang with dtrace on leopard

Closes Homebrew/homebrew#14628.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Stephan Zeissler 2012-09-02 02:04:10 +02:00 committed by Adam Vandenberg
parent 8ae6246c97
commit 941aa2a215

View file

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