[getdp] 48/60: update patch for 2.4.5 and higher
Matteo F. Vescovi
mfv at moszumanska.debian.org
Thu Feb 11 10:12:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
mfv pushed a commit to branch master
in repository getdp.
commit e9b1c3aa53c5d67bc6c5a7d8c828bfe5711c532a
Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
Date: Wed Aug 20 11:10:45 2014 +0000
update patch for 2.4.5 and higher
---
debian/patches/cmake.patch | 13 +++++++++++++
debian/patches/series | 1 +
debian/rules | 2 ++
3 files changed, 16 insertions(+)
diff --git a/debian/patches/cmake.patch b/debian/patches/cmake.patch
new file mode 100644
index 0000000..f7b22f1
--- /dev/null
+++ b/debian/patches/cmake.patch
@@ -0,0 +1,13 @@
+Index: getdp-2.4.5~svn3515/CMakeLists.txt
+===================================================================
+--- getdp-2.4.5~svn3515.orig/CMakeLists.txt
++++ getdp-2.4.5~svn3515/CMakeLists.txt
+@@ -487,6 +487,8 @@ if(ENABLE_FORTRAN)
+ list(APPEND LAPACK_LIBRARIES -lgfortran)
+ elseif(CMAKE_Fortran_COMPILER MATCHES "g77")
+ list(APPEND LAPACK_LIBRARIES -lg2c)
++ elseif(CMAKE_Fortran_COMPILER MATCHES "mpif90")
++ list(APPEND LAPACK_LIBRARIES -lgfortran)
+ endif(CMAKE_Fortran_COMPILER MATCHES "gfortran")
+ endif(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
+ else(ENABLE_FORTRAN)
diff --git a/debian/patches/series b/debian/patches/series
index b32545b..2429376 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
##slepc3.2.patch
##fix_latest_svn.patch
#cmake.patch
+cmake.patch
diff --git a/debian/rules b/debian/rules
index 35f5b19..095a41d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,8 @@ else
-DENABLE_MPI:BOOL=OFF
endif
+#extra_flags_sparskit ="$(extra_flags) -lgfortran"
+
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake --builddirectory=$(BUILDDIR)/petsc --parallel -- $(extra_flags)
dh_auto_configure --buildsystem=cmake --builddirectory=$(BUILDDIR)/sparskit --parallel -- $(extra_flags) -DENABLE_PETSC=0 -DENABLE_SPARSKIT=1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/getdp.git
More information about the debian-science-commits
mailing list