[freefempp] 07/23: Fix locating of libscotch.h

Dimitrios Eftaxiopoulos eftaxiop-guest at alioth.debian.org
Wed Sep 11 21:37:01 UTC 2013


This is an automated email from the git hooks/post-receive script.

eftaxiop-guest pushed a commit to branch eftaxiop
in repository freefempp.

commit 033e1f8f87ca0bc992d91fe9ccd721737e6fabe6
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Sun Sep 8 08:04:54 2013 +0300

    Fix locating of libscotch.h
---
 configure.ac                      |    2 +-
 debian/patches/configure-ac.patch |   11 +++++++++++
 debian/patches/series             |    1 +
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3937db8..b5294e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1902,7 +1902,7 @@ m4_map([AC_FF_WHERELIB],[
 	[[Superlu4],[-lsuperlu4],[superlu4/slu_ddefs.h],[]],
         [[blacs],[ -lblacsCinit$ff_with_mpi	-lblacsF77init$ff_with_mpi	-lblacs$ff_with_mpi],[]],
         [[scalapack],[-lscalapack$ff_with_mpi],[]],
-        [[scotch],[-lscotch -lscotcherr],[]],
+        [[scotch],[-lscotch -lscotcherr],[/usr/include/scotch/scotch.h],[]],
         [[ptscotch],[-lptscotch -lptscotcherr],[]],
 	[[metis],[-lscotch -lmetis],[metis/metis.h],[]],
 	[[metis],[-lscotch -lmetis],[metis.h],[]],
diff --git a/debian/patches/configure-ac.patch b/debian/patches/configure-ac.patch
new file mode 100644
index 0000000..9fde90e
--- /dev/null
+++ b/debian/patches/configure-ac.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1902,7 +1902,7 @@
+ 	[[Superlu4],[-lsuperlu4],[superlu4/slu_ddefs.h],[]],
+         [[blacs],[ -lblacsCinit$ff_with_mpi	-lblacsF77init$ff_with_mpi	-lblacs$ff_with_mpi],[]],
+         [[scalapack],[-lscalapack$ff_with_mpi],[]],
+-        [[scotch],[-lscotch -lscotcherr],[]],
++        [[scotch],[-lscotch -lscotcherr],[/usr/include/scotch/scotch.h],[]],
+         [[ptscotch],[-lptscotch -lptscotcherr],[]],
+ 	[[metis],[-lscotch -lmetis],[metis/metis.h],[]],
+ 	[[metis],[-lscotch -lmetis],[metis.h],[]],
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..4538f96 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+configure-ac.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/freefempp.git



More information about the debian-science-commits mailing list