summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-18 13:41:09 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-18 13:41:09 +0000
commit10571886d6de0036d8734d9c57b06cfcb63383de (patch)
tree78f6b0956e75a0d8012fd257003d8477743f2749 /biology
parentUpdate to version 1.40 (diff)
Readd mistakenly removed patch to honour CC/CFLAGS.
Notes
Notes: svn path=/head/; revision=129169
Diffstat (limited to 'biology')
-rw-r--r--biology/fluctuate/files/patch-Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/biology/fluctuate/files/patch-Makefile b/biology/fluctuate/files/patch-Makefile
new file mode 100644
index 000000000000..03bb831524dc
--- /dev/null
+++ b/biology/fluctuate/files/patch-Makefile
@@ -0,0 +1,43 @@
+
+$FreeBSD$
+
+--- Makefile.orig
++++ Makefile
+@@ -1,30 +1,28 @@
+ LIBS = -lm
+ BINDIR = ./bin
+-CFLAGS = -O2 -funroll-loops
+-CC = gcc $(CFLAGS)
+
+ fluctuate : fluctuate.o fluc_modellike.o getdata.o plot.o wrap.o \
+ coal_modellike.o
+- $(CC) fluctuate.o fluc_modellike.o getdata.o plot.o wrap.o \
++ $(CC) $(CFLAGS) fluctuate.o fluc_modellike.o getdata.o plot.o wrap.o \
+ coal_modellike.o $(LIBS) -o fluctuate
+
+ clean :
+ rm fluctuate.o fluc_modellike.o coal_modellike.o getdata.o plot.o wrap.o
+
+ fluctuate.o : fluctuate.c
+- $(CC) -c fluctuate.c
++ $(CC) $(CFLAGS) -c fluctuate.c
+
+ fluc_modellike.o : fluc_modellike.c
+- $(CC) -c fluc_modellike.c
++ $(CC) $(CFLAGS) -c fluc_modellike.c
+
+ coal_modellike.o : coal_modellike.c
+- $(CC) -c coal_modellike.c
++ $(CC) $(CFLAGS) -c coal_modellike.c
+
+ getdata.o : getdata.c
+- $(CC) -c getdata.c
++ $(CC) $(CFLAGS) -c getdata.c
+
+ plot.o : plot.c
+- $(CC) -c plot.c
++ $(CC) $(CFLAGS) -c plot.c
+
+ wrap.o : wrap.c
+- $(CC) -c wrap.c
++ $(CC) $(CFLAGS) -c wrap.c