freebsd-ports/cad/NASTRAN-95/files/patch-sb_Makefile
John Marino d48655b6ca 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
2016-09-05 12:37:32 +00:00

11 lines
326 B
Text

--- sb/Makefile.orig 2015-12-27 21:50:03 UTC
+++ sb/Makefile
@@ -1,6 +1,6 @@
# Declaration of variables
-FC = gfortran
-FFLAGS = -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