Package: mumps
Tags: patch
Usertags: origin-ubuntu natty ubuntu-patch
Severity: important

Hello dear maintainer,

Regarding the above subject your package ftbfs on ubuntu due to indirect linking

cf: 
https://launchpad.net/ubuntu/+source/mumps/4.9.2.dfsg-5/+build/2058114/+files/buildlog_ubuntu-natty-amd64.mumps_4.9.2.dfsg-5_FAILEDTOBUILD.txt.gz

The minimal patch below should fix the problem

diff -Nru mumps-4.9.2.dfsg/debian/rules mumps-4.9.2.dfsg/debian/rules
--- mumps-4.9.2.dfsg/debian/rules       2010-11-16 17:43:37.000000000 +0000
+++ mumps-4.9.2.dfsg/debian/rules       2010-11-23 04:58:48.000000000 +0000
@@ -2,7 +2,7 @@

 MUMPS_MPI=$(shell readlink /etc/alternatives/mpi | sed s/usr//g | sed
s/include//g | sed s/lib//g | sed s/\\///g)
 ifeq ($(MUMPS_MPI),openmpi)
-MUMPS_LIBF77=-L/usr/lib/openmpi/lib -lmpi_f77
+MUMPS_LIBF77=-L/usr/lib/openmpi/lib -lmpi_f77 -lmpi
 else
 ifeq ($(MUMPS_MPI),lam)
 MUMPS_LIBF77=-L/usr/lib/lam/lib -llamf77mpi


Regards




-- 
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community developer.
What matters in life is application of mind!,
It makes great sense to have some common sense..!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to