aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2006-09-12 22:41:00 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2006-09-12 22:41:00 +0000
commitb5c6ae5f82611e0c6f470a54bcdce721f86d15e4 (patch)
tree8f4dc61334d19289a4ada25ce1b363785c5f1ae5
parent66d2f41cda6cfb77eedf1dc9bfe77fe53e3fe2e5 (diff)
downloadports-b5c6ae5f82611e0c6f470a54bcdce721f86d15e4.tar.gz
ports-b5c6ae5f82611e0c6f470a54bcdce721f86d15e4.zip
Notes
-rw-r--r--lang/erlang/files/patch-erts_configure24
-rw-r--r--lang/erlang14/files/patch-erts_configure24
2 files changed, 48 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-erts_configure b/lang/erlang/files/patch-erts_configure
new file mode 100644
index 000000000000..44537bded1fa
--- /dev/null
+++ b/lang/erlang/files/patch-erts_configure
@@ -0,0 +1,24 @@
+
+$FreeBSD$
+
+--- erts/configure.orig
++++ erts/configure
+@@ -1355,6 +1355,7 @@
+ i586) ARCH=x86;;
+ i686) ARCH=x86;;
+ x86_64) ARCH=amd64;;
++amd64) ARCH=amd64;;
+ ppc) ARCH=ppc;;
+ ppc64) ARCH=ppc64;;
+ "Power Macintosh") ARCH=ppc;;
+@@ -6874,7 +6875,9 @@
+
+ echo $ac_n "checking for unreliable floating point execptions""... $ac_c" 1>&6
+ echo "configure:6877: checking for unreliable floating point execptions" >&5
+-if test "$cross_compiling" = yes; then
++if test "${ARCH}" = amd64; then
++ erl_ok=reliable
++elif test "$cross_compiling" = yes; then
+ erl_ok=unreliable
+ else
+ cat > conftest.$ac_ext <<EOF
diff --git a/lang/erlang14/files/patch-erts_configure b/lang/erlang14/files/patch-erts_configure
new file mode 100644
index 000000000000..44537bded1fa
--- /dev/null
+++ b/lang/erlang14/files/patch-erts_configure
@@ -0,0 +1,24 @@
+
+$FreeBSD$
+
+--- erts/configure.orig
++++ erts/configure
+@@ -1355,6 +1355,7 @@
+ i586) ARCH=x86;;
+ i686) ARCH=x86;;
+ x86_64) ARCH=amd64;;
++amd64) ARCH=amd64;;
+ ppc) ARCH=ppc;;
+ ppc64) ARCH=ppc64;;
+ "Power Macintosh") ARCH=ppc;;
+@@ -6874,7 +6875,9 @@
+
+ echo $ac_n "checking for unreliable floating point execptions""... $ac_c" 1>&6
+ echo "configure:6877: checking for unreliable floating point execptions" >&5
+-if test "$cross_compiling" = yes; then
++if test "${ARCH}" = amd64; then
++ erl_ok=reliable
++elif test "$cross_compiling" = yes; then
+ erl_ok=unreliable
+ else
+ cat > conftest.$ac_ext <<EOF