diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-28 12:14:53 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-28 12:14:53 +0000 |
commit | 11472092d224d4b90083e8d9a53affcd436fbeae (patch) | |
tree | fdc96d46782e5a10045226ffdeb94ff2dfa91163 /sci-libs/parmetis/files | |
parent | Fix python eclass usage (diff) | |
download | gentoo-2-11472092d224d4b90083e8d9a53affcd436fbeae.tar.gz gentoo-2-11472092d224d4b90083e8d9a53affcd436fbeae.tar.bz2 gentoo-2-11472092d224d4b90083e8d9a53affcd436fbeae.zip |
Updated the autotools patch to separate pkg-config files and fixed header directory issue (bug #215133, thanks Oliver Borm)
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-libs/parmetis/files')
-rw-r--r-- | sci-libs/parmetis/files/parmetis-3.1-autotools.patch | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/sci-libs/parmetis/files/parmetis-3.1-autotools.patch b/sci-libs/parmetis/files/parmetis-3.1-autotools.patch index 9d4fba0120e6..2c0a4de04c9d 100644 --- a/sci-libs/parmetis/files/parmetis-3.1-autotools.patch +++ b/sci-libs/parmetis/files/parmetis-3.1-autotools.patch @@ -186,7 +186,7 @@ +])dnl ACX_MPI --- configure.ac 1970-01-01 01:00:00.000000000 +0100 +++ configure.ac 2008-03-25 11:18:28.135641410 +0000 -@@ -0,0 +1,17 @@ +@@ -0,0 +1,18 @@ +# -*- Autoconf -*- +AC_PREREQ(2.59) +AC_INIT(parmetis, 3.1, karypis@cs.umn.edu) @@ -199,6 +199,7 @@ +AC_LANG_PUSH([C]) +ACX_MPI([], AC_MSG_ERROR([could not compile an mpi test program])) +AC_CONFIG_FILES([Makefile ++ metis.pc + parmetis.pc + ParMETISLib/Makefile + METISLib/Makefile @@ -206,21 +207,35 @@ +AC_OUTPUT --- parmetis.pc.in 1970-01-01 01:00:00.000000000 +0100 +++ parmetis.pc.in 2008-03-25 11:04:08.281809709 +0000 -@@ -0,0 +1,10 @@ +@@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + -+Name: ParMetis ++Name: ParMETIS +Description: Software for parallel (mpi) unstructured graph partitioning +Version: @VERSION@ -+Libs: -L${libdir} -lmetis -lparmetis ++Requires: metis ++Libs: -L${libdir} -lparmetis +Cflags: -I${includedir} +--- metis.pc.in 1970-01-01 01:00:00.000000000 +0100 ++++ metis.pc.in 2008-03-25 11:04:08.281809709 +0000 +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: METIS ++Description: Software for unstructured graph partitioning ++Version: @VERSION@ ++Libs: -L${libdir} -lmetis ++Cflags: -I${includedir}/metis --- ./METISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ ./METISLib/Makefile.am 2008-03-25 09:45:51.421429040 +0000 @@ -0,0 +1,18 @@ -+include_HEADERS = defs.h macros.h metis.h proto.h rename.h \ ++pkginclude_HEADERS = defs.h macros.h metis.h proto.h rename.h \ + stdheaders.h struct.h +pkgincludedir = $(includedir)/metis + @@ -241,7 +256,7 @@ --- ./ParMETISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ ./ParMETISLib/Makefile.am 2008-03-25 11:16:59.090567020 +0000 @@ -0,0 +1,21 @@ -+include_HEADERS = defs.h macros.h parmetislib.h proto.h \ ++pkginclude_HEADERS = defs.h macros.h parmetislib.h proto.h \ + rename.h stdheaders.h struct.h +pkgincludedir = $(includedir)/parmetis + @@ -280,7 +295,10 @@ + $(MPIRUN) mtest ../Graphs/bricks.hex3d 2 --- ./Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ ./Makefile.am 2008-03-26 00:34:09.072802498 +0000 -@@ -0,0 +1,3 @@ +@@ -0,0 +1,5 @@ +SUBDIRS = METISLib ParMETISLib Programs -+EXTRA_DIST = CHANGES VERSION parmetis.pc.in ++EXTRA_DIST = CHANGES VERSION parmetis.pc.in metis.pc.in +include_HEADERS = parmetis.h ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = metis.pc parmetis.pc + |