pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/fftw math/fftw: fix GCC > 4.8 version check



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed9ec60394ba
branches:  trunk
changeset: 452238:ed9ec60394ba
user:      thor <thor%pkgsrc.org@localhost>
date:      Fri May 07 11:59:41 2021 +0000

description:
math/fftw: fix GCC > 4.8 version check

diffstat:

 math/fftw/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 339e4df045ee -r ed9ec60394ba math/fftw/Makefile
--- a/math/fftw/Makefile        Fri May 07 11:42:01 2021 +0000
+++ b/math/fftw/Makefile        Fri May 07 11:59:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2021/04/30 23:31:08 thor Exp $
+# $NetBSD: Makefile,v 1.67 2021/05/07 11:59:41 thor Exp $
 
 PKGREVISION=   5
 
@@ -64,7 +64,7 @@
 FFTW_FLOAT_OPTS+=      --enable-sse --enable-sse2 --enable-avx
 FFTW_DOUBLE_OPTS+=     --enable-sse2 --enable-avx
 # From gcc-4.9 on, these should work trouble-free.
-.if empty(${CC_VERSION:Mgcc-4.8.*})
+.if empty(CC_VERSION:Mgcc-4.8.*)
 FFTW_FLOAT_OPTS+=      --enable-avx2 --enable-avx512 --enable-avx-128-fma
 FFTW_DOUBLE_OPTS+=     --enable-avx2 --enable-avx512 --enable-avx-128-fma 
 .endif



Home | Main Index | Thread Index | Old Index