aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannis Leidel2009-10-30 12:02:13 +0100
committerMax Howell2009-11-07 18:22:33 +0000
commit18ec04815555ae9b32d4289739b4938e83ad3e1a (patch)
tree71af4a1e9110121fcf4aff8a69e63ea47c3b815a
parentf4670bd7de5c88c2dcf6fedc484047509e07fddb (diff)
downloadhomebrew-18ec04815555ae9b32d4289739b4938e83ad3e1a.tar.bz2
Fixed erlang formula by applying required patches
-rw-r--r--Library/Formula/erlang.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 529998517..548492a3a 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -19,6 +19,22 @@ class Erlang <Formula
depends_on 'icu4c'
skip_clean 'lib'
+ def patches
+ { :p0 => ["patch-toolbar.erl",
+ "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-erts_configure.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
config_flags = ["--disable-debug",