summaryrefslogtreecommitdiff
path: root/lang/julia/files/patch-Make.inc
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2016-12-20 09:30:25 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2016-12-20 09:30:25 +0000
commit808a5c41dc0384a317066a9dadf0ba6ec47fc1af (patch)
tree288a649f61401b225ddfec1c61bc0f42666b08a2 /lang/julia/files/patch-Make.inc
parent- Add LICENSE (diff)
- Add lang/julia, Julia Language: A fresh approach to technical computing
PR: 215297 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw>
Notes
Notes: svn path=/head/; revision=428982
Diffstat (limited to 'lang/julia/files/patch-Make.inc')
-rw-r--r--lang/julia/files/patch-Make.inc51
1 files changed, 51 insertions, 0 deletions
diff --git a/lang/julia/files/patch-Make.inc b/lang/julia/files/patch-Make.inc
new file mode 100644
index 000000000000..5390c73c479d
--- /dev/null
+++ b/lang/julia/files/patch-Make.inc
@@ -0,0 +1,51 @@
+--- Make.inc.orig 2016-09-20 02:54:21 UTC
++++ Make.inc
+@@ -128,12 +128,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
+@@ -178,7 +173,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
+@@ -192,7 +187,7 @@ build_libdir := $(build_prefix)/lib
+ build_libexecdir := $(build_prefix)/libexec
+ build_datarootdir := $(build_prefix)/share
+ build_docdir := $(build_datarootdir)/doc/julia
+-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
+@@ -400,7 +395,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-ali
+ JCPPFLAGS := -fasynchronous-unwind-tables
+ JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
+ DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
+-SHIPFLAGS := -O3 -g
++SHIPFLAGS := -O3
+ ifeq ($(OS), Darwin)
+ ifeq ($(USE_LIBCPP), 1)
+ CC += -stdlib=libc++ -mmacosx-version-min=10.7
+@@ -832,7 +827,7 @@ endif
+
+ ifeq ($(USE_SYSTEM_UTF8PROC), 1)
+ LIBUTF8PROC := -lutf8proc
+- UTF8PROC_INC := /usr/include
++ UTF8PROC_INC := $(LOCALBASE)/include
+ else
+ LIBUTF8PROC := $(build_libdir)/libutf8proc.a
+ UTF8PROC_INC := $(build_includedir)