summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-11-01 19:36:24 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-01 19:36:24 +0100
commitc76141a9ed378795deac9e8fdd8f9ff5e6b1b91b (patch)
tree286b98a7462614aedaf9131643130db4d5818006 /sci-biology/clustalw-mpi/files/clustalw-mpi-0.13-makefile.patch
parentsci-biology/lagan: Port to EAPI 7 (diff)
downloadgentoo-c76141a9ed378795deac9e8fdd8f9ff5e6b1b91b.tar.gz
gentoo-c76141a9ed378795deac9e8fdd8f9ff5e6b1b91b.tar.bz2
gentoo-c76141a9ed378795deac9e8fdd8f9ff5e6b1b91b.zip
sci-biology/clustalw-mpi: Port to EAPI 7
* Rename USE flags to avoid underscore * Fix building against GCC 10 / -fno-common Closes: https://bugs.gentoo.org/695122 Closes: https://bugs.gentoo.org/706960 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/clustalw-mpi/files/clustalw-mpi-0.13-makefile.patch')
-rw-r--r--sci-biology/clustalw-mpi/files/clustalw-mpi-0.13-makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-biology/clustalw-mpi/files/clustalw-mpi-0.13-makefile.patch b/sci-biology/clustalw-mpi/files/clustalw-mpi-0.13-makefile.patch
new file mode 100644
index 000000000000..6e36061cbb39
--- /dev/null
+++ b/sci-biology/clustalw-mpi/files/clustalw-mpi-0.13-makefile.patch
@@ -0,0 +1,23 @@
+ Makefile | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index f2107ce..835232b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -25,12 +25,12 @@ TREES_FLAG = -DSERIAL_NJTREE
+ PAIRALIGN_FLAG = -DDYNAMIC_SCHEDULING_PAIRALIGN
+ #PAIRALIGN_FLAG = -DSTATIC_SCHEDULING_PAIRALIGN
+
+-CFLAGS = -c -O3
++CFLAGS += -c
+ #CFLAGS = -c -O3 -funroll-all-loops
+-LFLAGS = -lm
++LIBS = -lm
+
+ clustalw-mpi: $(OBJECTS)
+- $(CC) -o $@ $(OBJECTS) $(LFLAGS)
++ $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
+
+ interface.o : interface.c $(HEADERS) param.h
+ $(CC) $(CFLAGS) $*.c