summaryrefslogtreecommitdiff
path: root/math/nsc2ke/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/nsc2ke/files/patch-makefile')
-rw-r--r--math/nsc2ke/files/patch-makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/nsc2ke/files/patch-makefile b/math/nsc2ke/files/patch-makefile
new file mode 100644
index 000000000000..377c93d4e582
--- /dev/null
+++ b/math/nsc2ke/files/patch-makefile
@@ -0,0 +1,20 @@
+--- makefile.orig Tue Feb 7 14:00:19 1995
++++ makefile Thu Jan 1 21:40:26 2004
+@@ -1,6 +1,4 @@
+-F77=f77
+-LINK=f77 -O
+-FLAGS=-c -O
++# $FreeBSD$
+
+ OBJS=nsc2ke.o config.o mailla.o aires.o seg2d.o\
+ clhaut.o init.o calprc.o result.o fluosh.o flucin.o\
+@@ -9,7 +7,7 @@
+ loglaw.o isovat.o gravity.o
+
+ .f.o:
+- $(F77) $(FLAGS) $*.f
++ $(F77) -c $(FFLAGS) $*.f
+
+ NSC2KE:$(OBJS)
+- $(LINK) $(OBJS) -o NSC2KE
++ $(F77) $(FFLAGS) $(OBJS) -o NSC2KE