mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
biology/migrate: fix build on !x86
This commit is contained in:
parent
b64063dcbc
commit
b5a4f7a9a4
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue