summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2017-12-27 22:09:40 +0100
committerMarek Szuba <marecki@gentoo.org>2017-12-27 22:11:49 +0100
commit07e2905852b47073b5911782bde0b23128a557f1 (patch)
treea617d0a78798c7081d0e9a9da8a44eee2b909090 /sci-electronics/ngspice/files
parentsci-electronics/ngspice-27: remove "should be looked at" comments (diff)
downloadgentoo-07e2905852b47073b5911782bde0b23128a557f1.tar.gz
gentoo-07e2905852b47073b5911782bde0b23128a557f1.tar.bz2
gentoo-07e2905852b47073b5911782bde0b23128a557f1.zip
sci-electronics/ngspice: correct the logic in autoconf fftw patch
Now fftw really is looked for by default. This does not change anything for the 27 ebuild because it does not use the default, that said it is good to have this done right in case we submit this patch upstream. Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'sci-electronics/ngspice/files')
-rw-r--r--sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch b/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch
index d490938d209..d0eec127c57 100644
--- a/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch
+++ b/sci-electronics/ngspice/files/ngspice-27-autoconf_fftw3.patch
@@ -15,7 +15,7 @@
# Look for math library:
AC_CHECK_LIB([m], [sqrt])
AC_CHECK_HEADERS([float.h limits.h values.h ieeefp.h])
-+if test "x$with_fftw3" = xyes; then
++if test "x$with_fftw3" != xno; then
AC_CHECK_HEADERS([fftw3.h])
AC_CHECK_LIB([fftw3], [fftw_plan_dft_1d],
[AC_DEFINE([HAVE_LIBFFTW3], [], [Have fft routines in libfftw3])