Date: Sat, 22 Jan 2022 13:40:12 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ac6ca878ab0e - main - security/john: fix build on powerpc Message-ID: <202201221340.20MDeCb5023917@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac6ca878ab0e7358af6ead8c3ad7a5965d79d469 commit ac6ca878ab0e7358af6ead8c3ad7a5965d79d469 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-01-22 13:33:26 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-01-22 13:33:26 +0000 security/john: fix build on powerpc Disable simd code, it seems it's written specifically for 64-bits. --- security/john/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/security/john/Makefile b/security/john/Makefile index 3db81fb3ea75..5fb212f3c798 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -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\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201221340.20MDeCb5023917>