1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Restore patch-erts_configure: this should fix the amd64 build.

Noticed by:	infofarmer
This commit is contained in:
Jimmy Olgeni 2006-09-12 22:41:00 +00:00
parent 66d2f41cda
commit b5c6ae5f82
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172897
2 changed files with 48 additions and 0 deletions

View File

@ -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

View File

@ -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