aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/erlang.rb
diff options
context:
space:
mode:
authorPeter Meilstrup2014-04-07 23:08:58 -0700
committerMike McQuaid2014-04-09 08:34:07 +0100
commit092f378479ffe0095bfe68e9a23f0c41c79170b8 (patch)
tree2a7b13075a14fb20acd926c760a66a8fef7d2494 /Library/Formula/erlang.rb
parent37255889fe2266d846a4ed01682fb5171e4f6f13 (diff)
downloadhomebrew-092f378479ffe0095bfe68e9a23f0c41c79170b8.tar.bz2
erlang: respect disable-hipe option.
Closes #28239.
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