git: 8261e82cd510 - main - biology/minimap2: Unbreak on i386 by resotring -msse flags

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Fri, 03 Dec 2021 17:24:23 UTC
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8261e82cd510324b14e5463928e537a342cbddbf

commit 8261e82cd510324b14e5463928e537a342cbddbf
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2021-12-03 17:22:37 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2021-12-03 17:22:37 +0000

    biology/minimap2: Unbreak on i386 by resotring -msse flags
---
 biology/minimap2/Makefile                   |  1 +
 biology/minimap2/files/patch-Makefile.simde | 20 ++------------------
 2 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/biology/minimap2/Makefile b/biology/minimap2/Makefile
index 52b9b669654a..2c04ccd846d9 100644
--- a/biology/minimap2/Makefile
+++ b/biology/minimap2/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		minimap2
 DISTVERSIONPREFIX=	v
 DISTVERSION=		2.23
+PORTREVISION=		1
 CATEGORIES=		biology
 
 MAINTAINER=	jwb@FreeBSD.org
diff --git a/biology/minimap2/files/patch-Makefile.simde b/biology/minimap2/files/patch-Makefile.simde
index 8a85b5257ffc..5d5e0ccf482c 100644
--- a/biology/minimap2/files/patch-Makefile.simde
+++ b/biology/minimap2/files/patch-Makefile.simde
@@ -41,24 +41,8 @@
  .SUFFIXES:.c .o
  
  .c.o:
-@@ -49,18 +62,34 @@ sdust:sdust.c kalloc.o kalloc.h kdq.h kvec.h kseq.h ke
- 		$(CC) -D_SDUST_MAIN $(CFLAGS) $< kalloc.o -o $@ -lz
- 
- ksw2_ll_simde.o:ksw2_ll_sse.c ksw2.h kalloc.h
--		$(CC) -c $(CFLAGS) -msse2 $(CPPFLAGS) $(INCLUDES) $< -o $@
-+		$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< -o $@
- 
- ksw2_extz2_simde.o:ksw2_extz2_sse.c ksw2.h kalloc.h
--		$(CC) -c $(CFLAGS) -msse4.1 $(CPPFLAGS) $(INCLUDES) $< -o $@
-+		$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< -o $@
- 
- ksw2_extd2_simde.o:ksw2_extd2_sse.c ksw2.h kalloc.h
--		$(CC) -c $(CFLAGS) -msse4.1 $(CPPFLAGS) $(INCLUDES) $< -o $@
-+		$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< -o $@
- 
- ksw2_exts2_simde.o:ksw2_exts2_sse.c ksw2.h kalloc.h
--		$(CC) -c $(CFLAGS) -msse4.1 $(CPPFLAGS) $(INCLUDES) $< -o $@
-+		$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< -o $@
+@@ -61,6 +74,22 @@ ksw2_exts2_simde.o:ksw2_exts2_sse.c ksw2.h kalloc.h
+ 		$(CC) -c $(CFLAGS) -msse4.1 $(CPPFLAGS) $(INCLUDES) $< -o $@
  
  # other non-file targets
 +