Update Erlang/OTP to R13B04
Update Erlang/OTP to R13B04 release and in the process drop amd64 and HiPE patches. Geoff Cant provided patches inspired by the macports diffs and these are now included upstream. I've also dropped the wxMac patches as (1) wx is not built but SKIPped and (2) the last time I tried on 10.6 it worked without any patches. That was of course in 32-bit mode only as the wxMac bundled with 10.6 is exclusively 32-bit. The not-yet-stable wxMac 2.9 branch has 64-bit support but it's not tested with wxErlang, yet. Signed-off-by: Tuncer Ayaz <tuncer.ayaz@gmail.com>master
parent
3e5e220c9c
commit
b45ff75fea
|
@ -1,14 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class ErlangManuals <Formula
|
||||
url 'http://www.erlang.org/download/otp_doc_man_R13B03.tar.gz'
|
||||
md5 '1fe80b110061ef73614824fb06d4d6eb'
|
||||
url 'http://www.erlang.org/download/otp_doc_man_R13B04.tar.gz'
|
||||
md5 'ca6da4921e438891967900aa6a084341'
|
||||
end
|
||||
|
||||
class Erlang <Formula
|
||||
version 'R13B03'
|
||||
version 'R13B04'
|
||||
url "http://erlang.org/download/otp_src_#{version}.tar.gz"
|
||||
md5 '411fcb29f0819973f71e28f6b56d9948'
|
||||
md5 '681aaef70affc64743f4e8c0675034af'
|
||||
homepage 'http://www.erlang.org'
|
||||
|
||||
# we can't strip the beam executables or any plugins
|
||||
|
@ -20,20 +20,6 @@ class Erlang <Formula
|
|||
# may as well skip this too, everything is just shell scripts
|
||||
skip_clean 'bin'
|
||||
|
||||
def patches
|
||||
{ :p0 => ["patch-erts_emulator_Makefile.in",
|
||||
"patch-erts_emulator_hipe_hipe_amd64_asm.m4.diff",
|
||||
"patch-erts_emulator_hipe_hipe_amd64_bifs.m4.diff",
|
||||
"patch-erts_emulator_hipe_hipe_amd64_glue.S.diff",
|
||||
"patch-erts_emulator_hipe_hipe_amd64.c.diff",
|
||||
"patch-erts_emulator_sys_unix_sys_float.c.diff",
|
||||
"patch-lib_ssl_c_src_esock_openssl.c",
|
||||
"patch-lib_wx_configure.in",
|
||||
"patch-lib_wx_configure"
|
||||
].map { |file_name| "http://svn.macports.org/repository/macports/!svn/bc/60054/trunk/dports/lang/erlang/files/#{file_name}" }
|
||||
}
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
ENV.gcc_4_2 # see http://github.com/mxcl/homebrew/issues/#issue/120
|
||||
|
@ -54,7 +40,6 @@ class Erlang <Formula
|
|||
|
||||
if Hardware.is_64_bit? and MACOS_VERSION >= 10.6
|
||||
config_flags << "--enable-darwin-64bit"
|
||||
config_flags << "--enable-m64-build"
|
||||
end
|
||||
|
||||
system "./configure", *config_flags
|
||||
|
|
Loading…
Reference in New Issue