mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
security/john: fix build on powerpc
Disable simd code, it seems it's written specifically for 64-bits.
This commit is contained in:
parent
26ed2ece6d
commit
ac6ca878ab
1 changed files with 6 additions and 0 deletions
|
@ -48,6 +48,12 @@ OPENCL_USE= PERL5=build
|
|||
|
||||
OPENMP_CONFIGURE_OFF= --disable-openmp
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc
|
||||
CONFIGURE_ARGS+= --disable-simd
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/params.h
|
||||
@${REINPLACE_CMD} -e '/^host_cpu=/s|$$| ; case $$host_cpu in\
|
||||
|
|
Loading…
Add table
Reference in a new issue