aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-02-07 21:48:25 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-02-12 17:55:54 +0000
commitb28e464e75cf8be0cbb413220e00b2feba17f3fb (patch)
treea96dc1d0ac590f4290d14c5b32b55aefab1760bc
parent32cf9412c58d339066e091ad088126e1236b52dd (diff)
downloadports-b28e464e75cf8be0cbb413220e00b2feba17f3fb.tar.gz
ports-b28e464e75cf8be0cbb413220e00b2feba17f3fb.zip
security/john: fix build on powerpc64
./pseudo_intrinsics.h:110:25: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
-rw-r--r--security/john/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index a2220e5c2ecb..d8f42867e842 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -52,6 +52,8 @@ OPENMPI_CONFIGURE_ON= --enable-mpi
OPENMPI_CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/mpi/openmpi/include" \
LDFLAGS="-L${LOCALBASE}/mpi/openmpi/lib"
+CFLAGS_powerpc64= -mvsx
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/params.h
@${REINPLACE_CMD} -e '/^host_cpu=/s|$$| ; case $$host_cpu in\