git: b9385345c2c9 - main - math/pffft: fix build on powerpc*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 20 Feb 2022 11:53:27 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b9385345c2c92797a1e4cf647307d1edb3a8461a

commit b9385345c2c92797a1e4cf647307d1edb3a8461a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-20 11:51:01 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-20 11:51:01 +0000

    math/pffft: fix build on powerpc*
    
    SIMD is currently broken.
---
 math/pffft/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/math/pffft/Makefile b/math/pffft/Makefile
index 315f319f8487..e423037d2a64 100644
--- a/math/pffft/Makefile
+++ b/math/pffft/Makefile
@@ -22,6 +22,8 @@ CMAKE_ON=	BUILD_SHARED_LIBS INSTALL_PFDSP INSTALL_PFFASTCONV
 .if ${ARCH} == i386
 CFLAGS+=	-msse2
 CXXFLAGS+=	-msse2 # fixes error: always_inline function '_mm_unpacklo_ps' requires target feature 'sse', but would be inlined into function 'pffft_zreorder' that is compiled without support for 'sse'
+.elif ${ARCH:Mpowerpc*}
+CMAKE_ARGS+=	-DUSE_SIMD:BOOL=OFF #https://github.com/marton78/pffft/issues/55
 .endif
 
 post-install: # move headers into a dedicated directory