aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-04-08 06:04:49 +0800
committerolgeni <olgeni@FreeBSD.org>2010-04-08 06:04:49 +0800
commit20d05ef483935931255713540f1876ff2183c72d (patch)
tree363801b624edafc4e6e174356528519a61af05df
parent07c85cbca52fff06e40a72057ceb9d153d7acc4c (diff)
downloadfreebsd-ports-gnome-20d05ef483935931255713540f1876ff2183c72d.tar.gz
freebsd-ports-gnome-20d05ef483935931255713540f1876ff2183c72d.tar.zst
freebsd-ports-gnome-20d05ef483935931255713540f1876ff2183c72d.zip
Patch erlc.c to automatically pass the "-smp disable" arguments to
the Erlang runtime. This should hopefully fix the pointyhat build hangs which seem related to the Erlang SMP runtime (beam.smp).
-rw-r--r--lang/erlang/files/patch-erts_etc_common_erlc.c13
-rw-r--r--lang/erlang14/files/patch-erts_etc_common_erlc.c13
2 files changed, 26 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-erts_etc_common_erlc.c b/lang/erlang/files/patch-erts_etc_common_erlc.c
new file mode 100644
index 000000000000..ae65f91225ca
--- /dev/null
+++ b/lang/erlang/files/patch-erts_etc_common_erlc.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- erts/etc/common/erlc.c.orig
++++ erts/etc/common/erlc.c
+@@ -186,6 +186,7 @@
+ */
+
+ PUSH("-noinput");
++ PUSH2("-smp", "disable");
+ PUSH2("-mode", "minimal");
+ PUSH2("-boot", "start_clean");
+ PUSH3("-s", "erl_compile", "compile_cmdline");
diff --git a/lang/erlang14/files/patch-erts_etc_common_erlc.c b/lang/erlang14/files/patch-erts_etc_common_erlc.c
new file mode 100644
index 000000000000..ae65f91225ca
--- /dev/null
+++ b/lang/erlang14/files/patch-erts_etc_common_erlc.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- erts/etc/common/erlc.c.orig
++++ erts/etc/common/erlc.c
+@@ -186,6 +186,7 @@
+ */
+
+ PUSH("-noinput");
++ PUSH2("-smp", "disable");
+ PUSH2("-mode", "minimal");
+ PUSH2("-boot", "start_clean");
+ PUSH3("-s", "erl_compile", "compile_cmdline");