r46880 - in /packages/getdp/trunk/debian: patches/cmake.patch patches/series rules

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Wed Aug 20 11:10:45 UTC 2014


Author: trophime-guest
Date: Wed Aug 20 11:10:45 2014
New Revision: 46880

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46880
Log:
update patch for 2.4.5 and higher

Added:
    packages/getdp/trunk/debian/patches/cmake.patch
Modified:
    packages/getdp/trunk/debian/patches/series
    packages/getdp/trunk/debian/rules

Added: packages/getdp/trunk/debian/patches/cmake.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp/trunk/debian/patches/cmake.patch?rev=46880&op=file
==============================================================================
--- packages/getdp/trunk/debian/patches/cmake.patch	(added)
+++ packages/getdp/trunk/debian/patches/cmake.patch	Wed Aug 20 11:10:45 2014
@@ -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)

Modified: packages/getdp/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp/trunk/debian/patches/series?rev=46880&op=diff
==============================================================================
--- packages/getdp/trunk/debian/patches/series	(original)
+++ packages/getdp/trunk/debian/patches/series	Wed Aug 20 11:10:45 2014
@@ -3,3 +3,4 @@
 ##slepc3.2.patch
 ##fix_latest_svn.patch
 #cmake.patch
+cmake.patch

Modified: packages/getdp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp/trunk/debian/rules?rev=46880&op=diff
==============================================================================
--- packages/getdp/trunk/debian/rules	(original)
+++ packages/getdp/trunk/debian/rules	Wed Aug 20 11:10:45 2014
@@ -36,6 +36,8 @@
 	-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 




More information about the debian-science-commits mailing list