summaryrefslogtreecommitdiff
path: root/lang/julia11/files/patch-Make.inc
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-28 06:00:59 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-28 06:00:59 +0000
commit803cdf737236f06e6eb36257911a9a02aae75fa5 (patch)
tree9d17c44a1924868d7001daea46b538b8ab61123b /lang/julia11/files/patch-Make.inc
parentCopy lang/julia to lang/julia10 (diff)
Copy lang/julia10 to lang/julia11 and update to 1.1.0
PR: 235872 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
Notes
Notes: svn path=/head/; revision=502855
Diffstat (limited to 'lang/julia11/files/patch-Make.inc')
-rw-r--r--lang/julia11/files/patch-Make.inc53
1 files changed, 53 insertions, 0 deletions
diff --git a/lang/julia11/files/patch-Make.inc b/lang/julia11/files/patch-Make.inc
new file mode 100644
index 000000000000..9cbe7cc69749
--- /dev/null
+++ b/lang/julia11/files/patch-Make.inc
@@ -0,0 +1,53 @@
+--- Make.inc.orig 2019-01-13 00:25:11 UTC
++++ Make.inc
+@@ -134,12 +134,7 @@ endif
+ # disable automatic Makefile rules
+ .SUFFIXES:
+
+-# find out if git repository is available
+-ifeq ($(shell [ -e $(JULIAHOME)/.git ] && echo true || echo "Warning: git information unavailable; versioning information limited" >&2), true)
+-NO_GIT := 0
+-else
+ NO_GIT := 1
+-endif
+
+ # Julia's Semantic Versioning system labels the three decimal places in a version number as
+ # the major, minor and patch versions. Typically the major version would be incremented
+@@ -189,7 +184,7 @@ libdir := $(prefix)/lib
+ libexecdir := $(prefix)/libexec
+ datarootdir := $(prefix)/share
+ docdir := $(datarootdir)/doc/julia
+-mandir := $(datarootdir)/man
++mandir := $(prefix)/man
+ man1dir := $(mandir)/man1
+ includedir := $(prefix)/include
+ sysconfdir := $(prefix)/etc
+@@ -202,7 +197,7 @@ build_depsbindir := $(build_prefix)/tools
+ build_libdir := $(build_prefix)/lib
+ build_libexecdir := $(build_prefix)/libexec
+ build_datarootdir := $(build_prefix)/share
+-build_mandir := $(build_datarootdir)/man
++build_mandir := $(build_prefix)/man
+ build_man1dir := $(build_mandir)/man1
+ build_includedir := $(build_prefix)/include
+ build_sysconfdir := $(build_prefix)/etc
+@@ -367,7 +362,7 @@ endif
+ ifeq ($(USEIFC), 1)
+ FC := ifort
+ else
+-FC := $(CROSS_COMPILE)gfortran
++FC ?= $(CROSS_COMPILE)gfortran
+ endif
+
+ STDLIBCPP_FLAG :=
+@@ -420,8 +415,8 @@ SHIPFLAGS := -O3 -ggdb2 -falign-functions
+ endif
+
+ ifeq ($(USECLANG),1)
+-CC := $(CROSS_COMPILE)clang
+-CXX := $(CROSS_COMPILE)clang++
++CC ?= $(CROSS_COMPILE)clang
++CXX ?= $(CROSS_COMPILE)clang++
+ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
+ # AArch64 needs this flag to generate the .eh_frame used by libunwind
+ JCPPFLAGS := -fasynchronous-unwind-tables