aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/erlang.rb
diff options
context:
space:
mode:
authorJack Nagel2014-05-26 19:13:10 -0500
committerJack Nagel2014-05-26 21:31:33 -0500
commit677b6a1f04ba87cf616b36a357b45482d9c80673 (patch)
treec3a0cd40ecf3fc6a64bb76d467ae410fe0e07fe9 /Library/Formula/erlang.rb
parentb9b2c16518839f3b064e3f2a3ee279da2b6e257f (diff)
downloadhomebrew-677b6a1f04ba87cf616b36a357b45482d9c80673.tar.bz2
erlang: remove "halfword" option, deprecated upstream
Diffstat (limited to 'Library/Formula/erlang.rb')
-rw-r--r--Library/Formula/erlang.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 0ab6d552d..69e3478b6 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -51,7 +51,6 @@ class Erlang < Formula
end
option 'disable-hipe', "Disable building hipe; fails on various OS X systems"
- option 'halfword', 'Enable halfword emulator (64-bit builds only)'
option 'time', '`brew test --time` to include a time-consuming test'
option 'with-native-libs', 'Enable native library compilation'
option 'with-dirty-schedulers', 'Enable experimental dirty schedulers'
@@ -93,6 +92,8 @@ class Erlang < Formula
--enable-smp-support
]
+ args << "--enable-darwin-64bit" if MacOS.prefer_64_bit?
+
unless build.stable?
args << '--enable-native-libs' if build.with? 'native-libs'
args << '--enable-dirty-schedulers' if build.with? 'dirty-schedulers'
@@ -113,11 +114,6 @@ class Erlang < Formula
args << '--enable-hipe'
end
- if MacOS.prefer_64_bit?
- args << "--enable-darwin-64bit"
- args << "--enable-halfword-emulator" if build.include? 'halfword' # Does not work with HIPE yet. Added for testing only
- end
-
system "./configure", *args
system "make"
ENV.j1 # Install is not thread-safe; can try to create folder twice and fail