From owner-svn-ports-all@freebsd.org Mon Sep 5 12:37:33 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 55348A9D27B; Mon, 5 Sep 2016 12:37:33 +0000 (UTC) (envelope-from marino@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 257BAB14; Mon, 5 Sep 2016 12:37:33 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u85CbWN5080021; Mon, 5 Sep 2016 12:37:32 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u85CbWrq080020; Mon, 5 Sep 2016 12:37:32 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609051237.u85CbWrq080020@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Mon, 5 Sep 2016 12:37:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421363 - head/cad/NASTRAN-95/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: Mon, 05 Sep 2016 12:37:33 -0000 Author: marino Date: Mon Sep 5 12:37:32 2016 New Revision: 421363 URL: https://svnweb.freebsd.org/changeset/ports/421363 Log: cad/NASTRAN-95: Fix hardcoded FC and FFLAG flags in patch Given how patch-um_Makefile was constructed correctly with configure variables, I suspect the similar-but-incorrect patch-sb_Makefile was simply regenerated after configure was run. Let's replace the hardcoded gfortran48 and it's flags with %%FC%% and %%FFLAGS%% so NASTRAN-95 builds on other fortran compilers. Approved by: Just-Fix-It Modified: head/cad/NASTRAN-95/files/patch-sb_Makefile Modified: head/cad/NASTRAN-95/files/patch-sb_Makefile ============================================================================== --- head/cad/NASTRAN-95/files/patch-sb_Makefile Mon Sep 5 12:36:56 2016 (r421362) +++ head/cad/NASTRAN-95/files/patch-sb_Makefile Mon Sep 5 12:37:32 2016 (r421363) @@ -4,8 +4,8 @@ # Declaration of variables -FC = gfortran -FFLAGS = -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy -+FC = gfortran48 -+FFLAGS = -O -fno-range-check -Wl,-rpath=/usr/local/lib/gcc48 -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy ++FC = %%FC%% ++FFLAGS = %%FFLAGS%% -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy # file names EXEC=nastran.exe