freebsd-ports/biology/mrbayes/files/patch-Makefile
Adam Weinberger 00b0c72489 Fix build on -current by un-clobbering LDFLAGS. Also, don't
mute installation commands.
2014-08-15 16:37:37 +00:00

20 lines
556 B
Text

--- Makefile.orig 2005-12-22 11:13:06.000000000 -0500
+++ Makefile 2014-08-15 12:36:02.000000000 -0400
@@ -19,7 +19,7 @@
# set compiler for the non-MPI version (mpicc will be used for the MPI
# version regardless of this setting)
-CC = gcc
+CC ?= gcc
# set to yes if you want to use the readline library (make sure you have it
# installed on your machine)
@@ -67,7 +67,7 @@
LIBS += -lm
-LDFLAGS = $(CFLAGS)
+LDFLAGS += $(CFLAGS)
LDLIBS = $(LIBS)
OBJECTS = bayes.o command.o mbmath.o mcmc.o model.o plot.o sump.o sumt.o