diff options
author | olgeni <olgeni@FreeBSD.org> | 2006-09-13 06:41:00 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2006-09-13 06:41:00 +0800 |
commit | bb63950518b3e467d748f3000a6a54ef50bddeb0 (patch) | |
tree | d78ee38f6742dea3d5523320aeed12f867fea444 | |
parent | 694ef3d81ef78cec229dadb6b6f4e994b5787de2 (diff) | |
download | freebsd-ports-graphics-bb63950518b3e467d748f3000a6a54ef50bddeb0.tar.gz freebsd-ports-graphics-bb63950518b3e467d748f3000a6a54ef50bddeb0.tar.zst freebsd-ports-graphics-bb63950518b3e467d748f3000a6a54ef50bddeb0.zip |
Restore patch-erts_configure: this should fix the amd64 build.
Noticed by: infofarmer
-rw-r--r-- | lang/erlang/files/patch-erts_configure | 24 | ||||
-rw-r--r-- | lang/erlang14/files/patch-erts_configure | 24 |
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 00000000000..44537bded1f --- /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 00000000000..44537bded1f --- /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 |