summaryrefslogtreecommitdiff
path: root/lang/julia10/files/extra-patch-openblas-fix-arch.patch
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-28 05:59:00 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-28 05:59:00 +0000
commitaf1d8e9886df5a124ba49615c7e69eef953dec63 (patch)
treee30d86a81c29bfc53bbf83cf589da93f6c9945a4 /lang/julia10/files/extra-patch-openblas-fix-arch.patch
parentdevel/py-geotypes: Do not set PYTHON_PKGNAMEPREFIX (diff)
Copy lang/julia to lang/julia10
This is preparing for turning lang/julia to a meta port PR: 235872 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
Notes
Notes: svn path=/head/; revision=502854
Diffstat (limited to 'lang/julia10/files/extra-patch-openblas-fix-arch.patch')
-rw-r--r--lang/julia10/files/extra-patch-openblas-fix-arch.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/julia10/files/extra-patch-openblas-fix-arch.patch b/lang/julia10/files/extra-patch-openblas-fix-arch.patch
new file mode 100644
index 000000000000..cc965ecbe18d
--- /dev/null
+++ b/lang/julia10/files/extra-patch-openblas-fix-arch.patch
@@ -0,0 +1,19 @@
+--- Makefile.system.orig 2019-02-06 00:50:04.658572000 +0800
++++ Makefile.system 2019-02-06 00:51:30.598745000 +0800
+@@ -9,6 +9,16 @@
+ TOPDIR = .
+ endif
+
++ifeq ($(ARCH), amd64)
++override ARCH=x86_64
++else ifeq ($(ARCH), powerpc64)
++override ARCH=power
++else ifeq ($(ARCH), i386)
++override ARCH=x86
++else ifeq ($(ARCH), aarch64)
++override ARCH=arm64
++endif
++
+ NETLIB_LAPACK_DIR = $(TOPDIR)/lapack-netlib
+
+ # Default C compiler