Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2023 17:56: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: b28e464e75cf - main - security/john: fix build on powerpc64
Message-ID:  <202302121756.31CHuC68025034@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=b28e464e75cf8be0cbb413220e00b2feba17f3fb

commit b28e464e75cf8be0cbb413220e00b2feba17f3fb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-02-07 21:48:25 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-02-12 17:55:54 +0000

    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
---
 security/john/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302121756.31CHuC68025034>