On Fri, Mar 24, 2006 at 06:26:10PM +0100, Jon Olsson wrote:
[snip]
> Attaching an updated port that fixes a few issues:
> * Fix fetching of {man,html}-files (not SUPDISTFILE any longer)
> * Make sure the whatis.db file is deleted on pkg_delete
> * Update package description, as Erlang is more than just a functional
> programming language.
And here are two patches (from NetBSD) that should make the amd64 port
go a bit further. I have no way to test this myself, so if you want
Erlang on amd64, please test and report.
/ J
$OpenBSD$
--- erts/configure.orig Fri Mar 24 18:43:23 2006
+++ erts/configure Fri Mar 24 18:43:59 2006
@@ -5833,7 +5833,7 @@ static void unmask_x87(void)
__asm__ __volatile__("fldcw %0" : : "m"(cw));
}
-#if defined(__x86_64__)
+#if defined(__x86_64__) && !defined(__OpenBSD__)
static void unmask_sse2(void)
{
unsigned int mxcsr;
$OpenBSD$
--- erts/emulator/sys/unix/sys_float.c.orig Fri Mar 24 18:44:26 2006
+++ erts/emulator/sys/unix/sys_float.c Fri Mar 24 18:44:50 2006
@@ -52,7 +52,7 @@ static void unmask_x87(void)
__asm__ __volatile__("fldcw %0" : : "m"(cw));
}
-#if defined(__x86_64__)
+#if defined(__x86_64__) && !defined(__OpenBSD__)
static void unmask_sse2(void)
{
unsigned int mxcsr;