Date: Sat, 17 Jun 2023 22:14:27 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: 5e0e92cbca37 - main - math/fftw3-float: check for MACHINE_CPU on powerpc* Message-ID: <202306172214.35HMERNL094048@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=5e0e92cbca373cdfdb5defbb612402bde1b33f14 commit 5e0e92cbca373cdfdb5defbb612402bde1b33f14 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-06-17 22:12:56 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-06-17 22:14:23 +0000 math/fftw3-float: check for MACHINE_CPU on powerpc* MACHINE_CPU for powerpc * has been added recently to bsd.cpu.mk. To provide compatibility with older FreeBSD, leave the check for powerpc64*. --- math/fftw3/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile index b2e9e1c4207c..e3065aeb5488 100644 --- a/math/fftw3/Makefile +++ b/math/fftw3/Makefile @@ -1,6 +1,6 @@ PORTNAME= fftw3 DISTVERSION= 3.3.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= http://www.fftw.org/ \ ftp://ftp.fftw.org/pub/fftw/ @@ -99,7 +99,7 @@ CONFIGURE_ARGS+=--enable-avx2 --enable-fma . if !empty(MACHINE_CPU:Msse) CONFIGURE_ARGS+=--enable-sse2 . endif -. if !empty(ARCH:Mpowerpc64*) +. if !empty(MACHINE_CPU:Maltivec) || !empty(ARCH:Mpowerpc64*) CONFIGURE_ARGS+=--enable-altivec . endif . if ${ARCH} == "aarch64"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306172214.35HMERNL094048>