svn commit: r421363 - head/cad/NASTRAN-95/files
John Marino
marino at FreeBSD.org
Mon Sep 5 12:37:33 UTC 2016
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
More information about the svn-ports-head
mailing list