From 06eaaf72d12ca70275fd4f403af14bcb2d609718 Mon Sep 17 00:00:00 2001 From: Justin Bronder Date: Wed, 16 Sep 2009 11:59:57 -0400 Subject: [PATCH 3/3] Fix pkgconfig for mpich2-ch3 Variables were undefined, see http://bugs.gentoo.org/257821 $ pkg-config --list-all [lots of output, then] Variable 'exec_prefix' not defined in '/usr/lib/pkgconfig/mpich2-ch3.pc' --- src/packaging/pkgconfig/mpich2-ch3.pc.in | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/packaging/pkgconfig/mpich2-ch3.pc.in b/src/packaging/pkgconfig/mpich2-ch3.pc.in index df10b7f..8621ef5 100644 --- a/src/packaging/pkgconfig/mpich2-ch3.pc.in +++ b/src/packaging/pkgconfig/mpich2-ch3.pc.in @@ -1,8 +1,12 @@ # this gives access to the mpich2 header files +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ Name: mpich2 Description: MPICH2 is an implementation of the Message-Passing Interface (MPI). The goals of MPICH2 are to provide an MPI implementation for important platforms, including clusters, SMPs, and massively parallel processors. It also provides a vehicle for MPI implementation research and for developing new and better parallel programming environments. Version: @VERSION@ Requires: -Libs: -L@libdir@ -lmpich -lmpichcxx @LIBS@ -Cflags: @CFLAGS@ -I@includedir@ -DMPICH_IGNORE_CXX_SEEK +Libs: -L${libdir} -lmpich -lmpichcxx @LIBS@ +Cflags: @CFLAGS@ -I${includedir} -DMPICH_IGNORE_CXX_SEEK -- 1.6.3.3