git: 90c6e11540a6 - main - biology/phyml: fix build on non-amd64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 15:25:25 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90c6e11540a62583f4ec5c81eece4450bdc84fb6

commit 90c6e11540a62583f4ec5c81eece4450bdc84fb6
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-06-15 14:19:52 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-16 15:25:18 +0000

    biology/phyml: fix build on non-amd64
    
    cc: error: unsupported option '-msse3' for target 'powerpc64-unknown-freebsd14.1'
---
 biology/phyml/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biology/phyml/Makefile b/biology/phyml/Makefile
index b5feff3eaae3..17a23360404e 100644
--- a/biology/phyml/Makefile
+++ b/biology/phyml/Makefile
@@ -45,7 +45,7 @@ BIN_SUFFIX=		# none
 
 .if ${ARCH} != amd64 && ${ARCH} != i386
 post-patch:
-	@${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' ${WRKSRC}/configure.ac
+	@${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' -e 's|-msse3 ||' ${WRKSRC}/configure.ac
 .endif
 
 post-install-DOCS-on: