Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2016 12:37:32 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421363 - head/cad/NASTRAN-95/files
Message-ID:  <201609051237.u85CbWrq080020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609051237.u85CbWrq080020>