security/john: fix build on powerpc

Disable simd code, it seems it's written specifically for 64-bits.
This commit is contained in:
Piotr Kubaj 2022-01-22 13:33:26 +00:00
parent 26ed2ece6d
commit ac6ca878ab

View file

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