diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-02-19 10:18:18 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-02-19 10:18:18 +0000 |
commit | c99ec4e283c4028c42c711ea85a17a98db338fff (patch) | |
tree | f6e56af93f5fe9d5433b43a8def14fd7688c854b /math/scilab/files/patch-configure | |
parent | science/py-moltemplate: Update 2.19.5 -> 2.19.6 (diff) |
math/scilab: partial fix for powerpc64*
It still doesn't build, but makes it through configure.
Notes
Notes:
svn path=/head/; revision=566044
Diffstat (limited to 'math/scilab/files/patch-configure')
-rw-r--r-- | math/scilab/files/patch-configure | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/math/scilab/files/patch-configure b/math/scilab/files/patch-configure index e62769947c7e..0a2e5e1c7d3d 100644 --- a/math/scilab/files/patch-configure +++ b/math/scilab/files/patch-configure @@ -14,7 +14,7 @@ IS_64_BITS_CPU=false case "$host" in - x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd*) -+ x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd* | amd64-*-freebsd* ) ++ x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd* | amd64-*-freebsd* | powerpc64*-*-freebsd*) IS_64_BITS_CPU=true ;; esac @@ -27,3 +27,25 @@ ## With GNU Compiler # enable the code coverage +@@ -13126,7 +13126,7 @@ + ;; + *) + +- machine=`uname -m` ++ machine=`uname -p` + case "$machine" in + i?86) + machine=i386 +@@ -13142,10 +13142,10 @@ + powerpc) + machine=ppc + ;; +- ppc64le) ++ powerpc64le|ppc64le) + machine=ppc64le + ;; +- ppc64) ++ powerpc64|ppc64) + machine=ppc64 + ;; + armv*) |