diff options
author | John Marino <marino@FreeBSD.org> | 2016-09-05 12:37:32 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-09-05 12:37:32 +0000 |
commit | d48655b6ca23d683c43cf87f6bc81fdcaa34fd42 (patch) | |
tree | ff7e0e69fc778b346c5d2c0299a29451bc6b904d /cad/NASTRAN-95 | |
parent | 3b921e492f18769c1d4eeab39db21f706087636c (diff) | |
download | ports-d48655b6ca23d683c43cf87f6bc81fdcaa34fd42.tar.gz ports-d48655b6ca23d683c43cf87f6bc81fdcaa34fd42.zip |
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
Notes
Notes:
svn path=/head/; revision=421363
Diffstat (limited to 'cad/NASTRAN-95')
-rw-r--r-- | cad/NASTRAN-95/files/patch-sb_Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/NASTRAN-95/files/patch-sb_Makefile b/cad/NASTRAN-95/files/patch-sb_Makefile index eed3b90f5d79..a6aa9bde17a2 100644 --- a/cad/NASTRAN-95/files/patch-sb_Makefile +++ b/cad/NASTRAN-95/files/patch-sb_Makefile @@ -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 |