1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

biology/migrate: fix build on !x86

This commit is contained in:
Piotr Kubaj 2024-07-08 21:04:06 +02:00
parent b64063dcbc
commit b5a4f7a9a4

View File

@ -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