aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2005-01-09 11:27:56 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2005-01-09 11:27:56 +0000
commit0b2ae23e01030a9a585ef0ec4313bef6d9d8eb66 (patch)
tree9ec9793eb80705a8ad6a6a13042c824501f798b8 /lang/erlang
parentc9a20aef70010333a47d30d5dcfdda47981d4337 (diff)
Notes
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile5
-rw-r--r--lang/erlang/files/patch-lib_kernel_src_application__controller.erl14
2 files changed, 17 insertions, 2 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 2098042ee87b..3d98cdb9cd00 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -7,7 +7,7 @@
PORTNAME= erlang
PORTVERSION= r10b2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= lang parallel
MASTER_SITES= http://www.erlang.org/download/ \
@@ -45,7 +45,8 @@ ONLY_FOR_ARCHS= i386
REINPLACE_ARGS= -i
CONFIGURE_TARGET= # Empty
-CONFIGURE_ARGS+= --enable-threads
+CONFIGURE_ARGS+= --enable-threads --enable-hipe
+NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
.include <bsd.port.pre.mk>
diff --git a/lang/erlang/files/patch-lib_kernel_src_application__controller.erl b/lang/erlang/files/patch-lib_kernel_src_application__controller.erl
new file mode 100644
index 000000000000..2c9afc934e5c
--- /dev/null
+++ b/lang/erlang/files/patch-lib_kernel_src_application__controller.erl
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/kernel/src/application_controller.erl.orig
++++ lib/kernel/src/application_controller.erl
+@@ -1398,7 +1398,7 @@
+ FName = atom_to_list(Name) ++ ".app",
+ case code:where_is_file(FName) of
+ non_existing ->
+- {error, {file:format_error({error,enoent}), FName}};
++ {error, {file:format_error(enoent), FName}};
+ FullName ->
+ case file:consult(FullName) of
+ {ok, [Application]} ->