Bug#752786: mpich: Please add mpi.pc alternative

Alastair McKinstry mckinstry at debian.org
Thu Jun 26 15:10:56 UTC 2014


Package: mpich
Severity: wishlist
Tags: patch

Please add mpi.pc as an alternative pointing to mpich.pc.
openmpi also provides a pkgconfig file; doing this really helps pkgconfig
files for MPI, and especially for cases such as HDF5, Netcdf, etc. where
libraries may or may not need to be linked against mpi depending on how they
are built; than we can use "Requires: mpi" in the pkgconfig files and hide
the  details from users.


-- libmpich-dev.postinst.old	2014-06-26 15:55:15.729163411 +0100
+++ libmpich-dev.postinst	2014-06-26 15:55:45.353966560 +0100
@@ -40,7 +40,8 @@
 	--slave /usr/share/man/man1/mpicxx.1.gz mpicxx.1.gz /usr/share/man/man1/mpicxx.mpich.1.gz \
 	--slave /usr/share/man/man1/mpiCC.1.gz mpiCC.1.gz /usr/share/man/man1/mpicxx.mpich.1.gz \
 	--slave /usr/share/man/man1/mpif77.1.gz mpif77.1.gz /usr/share/man/man1/mpif77.mpich.1.gz \
-	--slave /usr/share/man/man1/mpif90.1.gz mpif90.1.gz /usr/share/man/man1/mpif90.mpich.1.gz
+	--slave /usr/share/man/man1/mpif90.1.gz mpif90.1.gz /usr/share/man/man1/mpif90.mpich.1.gz \
+    --slave /usr/lib/TRIPLET/pkgconfig/mpi.pc mpi.pc /usr/lib/TRIPLET/pkgconfig/mpich.pc
 
 #DEBHELPER#


-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



More information about the debian-science-maintainers mailing list