mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
9ee604d56e
PR: 228993 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
61 lines
2.0 KiB
PHP
61 lines
2.0 KiB
PHP
--- Make.inc.orig 2018-05-27 21:19:34 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
|
|
@@ -184,7 +179,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
|
|
@@ -198,7 +193,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
|
|
@@ -351,7 +346,7 @@ endif
|
|
ifeq ($(USEIFC), 1)
|
|
FC := ifort
|
|
else
|
|
-FC := $(CROSS_COMPILE)gfortran
|
|
+FC ?= $(CROSS_COMPILE)gfortran
|
|
endif
|
|
|
|
STDLIBCPP_FLAG :=
|
|
@@ -404,14 +399,14 @@ 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
|
|
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)
|
|
MACOSX_VERSION_MIN := 10.8
|