git: 859980f9d8c3 - main - biology/minimap2: Unbreak build on aarch64

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Tue, 28 May 2024 21:07:19 UTC
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=859980f9d8c367755a0f363f7de68d9c62758c6e

commit 859980f9d8c367755a0f363f7de68d9c62758c6e
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2024-05-28 21:06:42 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2024-05-28 21:06:42 +0000

    biology/minimap2: Unbreak build on aarch64
    
    Remove unsupports -msse flags
    
    Reported by:    pkg-fallout
---
 biology/minimap2/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/biology/minimap2/Makefile b/biology/minimap2/Makefile
index 996f251ee469..4f479b8f908c 100644
--- a/biology/minimap2/Makefile
+++ b/biology/minimap2/Makefile
@@ -24,4 +24,7 @@ INSTALL_TARGET=	install-strip
 MAKEFILE=	Makefile.simde
 MAKE_ARGS=	MAN1DIR=${PREFIX}/share/man/man1
 
+pre-build:
+	${REINPLACE_CMD} -e 's|-msse4.1||g' -e 's|-msse2||g' ${WRKSRC}/Makefile.simde
+
 .include <bsd.port.mk>