aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/erlang.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/erlang.rb')
-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 5e5e47ff6..f3ddbbf60 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -95,10 +95,12 @@ class Erlang < Formula
args << "--with-dynamic-trace=dtrace"
end
- unless build.include? 'disable-hipe'
+ if build.include? 'disable-hipe'
# HIPE doesn't strike me as that reliable on OS X
# http://syntatic.wordpress.com/2008/06/12/macports-erlang-bus-error-due-to-mac-os-x-1053-update/
# http://www.erlang.org/pipermail/erlang-patches/2008-September/000293.html
+ args << '--disable-hipe'
+ else
args << '--enable-hipe'
end