From owner-svn-ports-all@freebsd.org Tue Dec 27 09:59:19 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0BCEC8F3CF; Tue, 27 Dec 2016 09:59:19 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 804361C48; Tue, 27 Dec 2016 09:59:19 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBR9xIAn018154; Tue, 27 Dec 2016 09:59:18 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBR9xI43018153; Tue, 27 Dec 2016 09:59:18 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201612270959.uBR9xI43018153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Tue, 27 Dec 2016 09:59:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429589 - head/lang/julia/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 09:59:19 -0000 Author: lwhsu Date: Tue Dec 27 09:59:18 2016 New Revision: 429589 URL: https://svnweb.freebsd.org/changeset/ports/429589 Log: - Respect CC, CXX, FC PR: 215565 Submitted by: Yunchih Chen Approved by: Iblis Lin (maintainer) Modified: head/lang/julia/files/patch-Make.inc Modified: head/lang/julia/files/patch-Make.inc ============================================================================== --- head/lang/julia/files/patch-Make.inc Tue Dec 27 09:52:13 2016 (r429588) +++ head/lang/julia/files/patch-Make.inc Tue Dec 27 09:59:18 2016 (r429589) @@ -31,7 +31,25 @@ 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 +@@ -340,7 +335,7 @@ endif + ifeq ($(USEIFC), 1) + FC := ifort + else +-FC := $(CROSS_COMPILE)gfortran ++FC ?= $(CROSS_COMPILE)gfortran + endif + + STDLIBCPP_FLAG := +@@ -393,14 +388,14 @@ SHIPFLAGS := -O3 -ggdb2 -falign-function + 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