summaryrefslogtreecommitdiff
path: root/lang/julia07/files/extra-patch-openblas-fix-arch.patch
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-28 06:08:12 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-28 06:08:12 +0000
commit9c831c900c54b413344f7ad261505be4fd805b00 (patch)
tree1e2e88e4314f82cece7276d242b9596a2c38290a /lang/julia07/files/extra-patch-openblas-fix-arch.patch
parentCopy lang/julia10 to lang/julia11 and update to 1.1.0 (diff)
Enable lang/julia06, lang/julia07 to be installed simultaneously
PR: 235872 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
Notes
Notes: svn path=/head/; revision=502856
Diffstat (limited to 'lang/julia07/files/extra-patch-openblas-fix-arch.patch')
-rw-r--r--lang/julia07/files/extra-patch-openblas-fix-arch.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/julia07/files/extra-patch-openblas-fix-arch.patch b/lang/julia07/files/extra-patch-openblas-fix-arch.patch
new file mode 100644
index 000000000000..cc965ecbe18d
--- /dev/null
+++ b/lang/julia07/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