Fix "The file FFTW3LibraryDepends.cmake is missing" in autotools build
https://github.com/FFTW/fftw3/issues/130#issuecomment-1902748460
This commit is contained in:
parent
41a48b56e5
commit
eacf254206
@ -24,6 +24,7 @@ Summary: A Fast Fourier Transform library
|
|||||||
License: GPL-2.0-or-later AND MIT AND BSD-2-Clause
|
License: GPL-2.0-or-later AND MIT AND BSD-2-Clause
|
||||||
URL: http://www.fftw.org
|
URL: http://www.fftw.org
|
||||||
Source0: http://www.fftw.org/fftw-%{version}.tar.gz
|
Source0: http://www.fftw.org/fftw-%{version}.tar.gz
|
||||||
|
Patch1: fix_autotools_build.patch
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
|
|
||||||
@ -280,7 +281,7 @@ This package contains the manual for the FFTW fast Fourier transform
|
|||||||
library.
|
library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with mpich} || %{with openmpi}
|
%if %{with mpich} || %{with openmpi}
|
||||||
@ -540,6 +541,8 @@ done
|
|||||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.10-10
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.10-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
- Fix i686 build by disabling openmpi
|
- Fix i686 build by disabling openmpi
|
||||||
|
- Fix "The file FFTW3LibraryDepends.cmake is missing" in autotools build
|
||||||
|
https://github.com/FFTW/fftw3/issues/130#issuecomment-1902748460
|
||||||
|
|
||||||
* Thu Jul 27 2023 Lukáš Zaoral <lzaoral@redhat.com> - 3.3.10-9
|
* Thu Jul 27 2023 Lukáš Zaoral <lzaoral@redhat.com> - 3.3.10-9
|
||||||
- migrate to SPDX license format
|
- migrate to SPDX license format
|
||||||
|
13
fix_autotools_build.patch
Normal file
13
fix_autotools_build.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/FFTW3Config.cmake.in b/FFTW3Config.cmake.in
|
||||||
|
index 6b1fbc2..e8a2ed8 100644
|
||||||
|
--- a/FFTW3Config.cmake.in
|
||||||
|
+++ b/FFTW3Config.cmake.in
|
||||||
|
@@ -10,8 +10,6 @@ set (FFTW3@PREC_SUFFIX@_LIBRARIES fftw3@PREC_SUFFIX@)
|
||||||
|
set (FFTW3@PREC_SUFFIX@_LIBRARY_DIRS @CMAKE_INSTALL_FULL_LIBDIR@)
|
||||||
|
set (FFTW3@PREC_SUFFIX@_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
|
||||||
|
|
||||||
|
-include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake")
|
||||||
|
-
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 2.8.3)
|
||||||
|
set (CMAKE_CURRENT_LIST_DIR)
|
||||||
|
endif ()
|
Loading…
Reference in New Issue
Block a user