From 2cb7d9aa5e80e00466947ae42c87844d2aea4fba Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 5 Apr 2021 16:14:35 +0200 Subject: sci-biology/sibsim4: Port to EAPI 7 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert --- .../sibsim4/files/sibsim4-0.20-makefile.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch (limited to 'sci-biology/sibsim4/files') diff --git a/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch b/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch new file mode 100644 index 000000000000..6436747e3dd9 --- /dev/null +++ b/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch @@ -0,0 +1,26 @@ +--- a/Makefile ++++ b/Makefile +@@ -21,13 +21,12 @@ + # to change it to this: + # CFLAGS = -Xc + +-CFLAGS = -std=gnu99 -W -Wall -Wconversion -pedantic $(DEBUG) $(OPT) ++CFLAGS += -std=gnu99 -Wall -Wconversion -pedantic + + + # The default is GCC. On Solaris, you might put: + # CC = /opt/SUNWspro/bin/cc + +-CC = gcc + + + # Depending on the compile flags you use, you might need to explicitly use the +@@ -42,7 +41,7 @@ + OBJS = sim4b1.o align.o misc.o sim4.init.o + + sim4: $(OBJS) +- $(CC) -o SIBsim4 $(CFLAGS) $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o SIBsim4 $(OBJS) $(LIBS) + + clean: + rm -f SIBsim4 *.o -- cgit v1.2.3-65-gdbad