diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2020-05-09 19:24:49 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2020-05-09 19:24:49 +0000 |
| commit | 7d4723292c529621329dafb7fc2aa27183da1eae (patch) | |
| tree | ebef050ddf7b410c892c5607cd95abafad473cce /biology | |
| parent | 18bde20408d7061d471384faa0869b56273bcd8c (diff) | |
Notes
Diffstat (limited to 'biology')
| -rw-r--r-- | biology/mothur/files/patch-Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/biology/mothur/files/patch-Makefile b/biology/mothur/files/patch-Makefile new file mode 100644 index 000000000000..9d0709f1ea26 --- /dev/null +++ b/biology/mothur/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig 2019-09-30 19:02:13 UTC ++++ Makefile +@@ -100,7 +100,7 @@ endif + subdirs := $(sort $(dir $(filter-out $(skipUchime), $(wildcard source/*/)))) + subDirIncludes = $(patsubst %, -I %, $(subdirs)) + subDirLinking = $(patsubst %, -L%, $(subdirs)) +- CXXFLAGS += -I. $(subDirIncludes) ++ CXXFLAGS += -Isource $(subDirIncludes) + LDFLAGS += $(subDirLinking) + + +@@ -109,8 +109,8 @@ endif + # + OBJECTS=$(patsubst %.cpp,%.o,$(wildcard $(addsuffix *.cpp,$(subdirs)))) + OBJECTS+=$(patsubst %.c,%.o,$(wildcard $(addsuffix *.c,$(subdirs)))) +- OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard *.cpp)) +- OBJECTS+=$(patsubst %.c,%.o,$(wildcard *.c)) ++ OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard source/*.cpp)) ++ OBJECTS+=$(patsubst %.c,%.o,$(wildcard source/*.c)) + + mothur : $(OBJECTS) uchime + $(CXX) $(LDFLAGS) $(TARGET_ARCH) -o $@ $(OBJECTS) $(LIBS) |
