git: b5a4f7a9a4a0 - main - biology/migrate: fix build on !x86
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jul 2024 10:04:54 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b5a4f7a9a4a0a26c2630741a3e7c66ef48fd8212
commit b5a4f7a9a4a0a26c2630741a3e7c66ef48fd8212
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-08 19:04:06 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-07-09 10:04:31 +0000
biology/migrate: fix build on !x86
---
biology/migrate/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/biology/migrate/Makefile b/biology/migrate/Makefile
index dc129ce6614f..e65dd71ab5f2 100644
--- a/biology/migrate/Makefile
+++ b/biology/migrate/Makefile
@@ -34,6 +34,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES THREAD
THREAD_DESC= Build with THREAD support
THREAD_ALL_TARGET= thread
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CONFIGURE_ARGS+= --disable-sse2 \
+ --disable-avx
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|="-O "|="$$CFLAGS"|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/PRETTY$$/d' ${WRKSRC}/src/definitions.h