1 |
bicatali 08/03/28 12:14:54 |
2 |
|
3 |
Modified: parmetis-3.1-autotools.patch |
4 |
Log: |
5 |
Updated the autotools patch to separate pkg-config files and fixed header directory issue (bug #215133, thanks Oliver Borm) |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-libs/parmetis/files/parmetis-3.1-autotools.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/parmetis/files/parmetis-3.1-autotools.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/parmetis/files/parmetis-3.1-autotools.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/parmetis/files/parmetis-3.1-autotools.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: parmetis-3.1-autotools.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/parmetis/files/parmetis-3.1-autotools.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- parmetis-3.1-autotools.patch 27 Mar 2008 19:01:47 -0000 1.1 |
22 |
+++ parmetis-3.1-autotools.patch 28 Mar 2008 12:14:53 -0000 1.2 |
23 |
@@ -186,7 +186,7 @@ |
24 |
+])dnl ACX_MPI |
25 |
--- configure.ac 1970-01-01 01:00:00.000000000 +0100 |
26 |
+++ configure.ac 2008-03-25 11:18:28.135641410 +0000 |
27 |
-@@ -0,0 +1,17 @@ |
28 |
+@@ -0,0 +1,18 @@ |
29 |
+# -*- Autoconf -*- |
30 |
+AC_PREREQ(2.59) |
31 |
+AC_INIT(parmetis, 3.1, karypis@××××××.edu) |
32 |
@@ -199,6 +199,7 @@ |
33 |
+AC_LANG_PUSH([C]) |
34 |
+ACX_MPI([], AC_MSG_ERROR([could not compile an mpi test program])) |
35 |
+AC_CONFIG_FILES([Makefile |
36 |
++ metis.pc |
37 |
+ parmetis.pc |
38 |
+ ParMETISLib/Makefile |
39 |
+ METISLib/Makefile |
40 |
@@ -206,21 +207,35 @@ |
41 |
+AC_OUTPUT |
42 |
--- parmetis.pc.in 1970-01-01 01:00:00.000000000 +0100 |
43 |
+++ parmetis.pc.in 2008-03-25 11:04:08.281809709 +0000 |
44 |
-@@ -0,0 +1,10 @@ |
45 |
+@@ -0,0 +1,11 @@ |
46 |
+prefix=@prefix@ |
47 |
+exec_prefix=@exec_prefix@ |
48 |
+libdir=@libdir@ |
49 |
+includedir=@includedir@ |
50 |
+ |
51 |
-+Name: ParMetis |
52 |
++Name: ParMETIS |
53 |
+Description: Software for parallel (mpi) unstructured graph partitioning |
54 |
+Version: @VERSION@ |
55 |
-+Libs: -L${libdir} -lmetis -lparmetis |
56 |
++Requires: metis |
57 |
++Libs: -L${libdir} -lparmetis |
58 |
+Cflags: -I${includedir} |
59 |
+--- metis.pc.in 1970-01-01 01:00:00.000000000 +0100 |
60 |
++++ metis.pc.in 2008-03-25 11:04:08.281809709 +0000 |
61 |
+@@ -0,0 +1,10 @@ |
62 |
++prefix=@prefix@ |
63 |
++exec_prefix=@exec_prefix@ |
64 |
++libdir=@libdir@ |
65 |
++includedir=@includedir@ |
66 |
++ |
67 |
++Name: METIS |
68 |
++Description: Software for unstructured graph partitioning |
69 |
++Version: @VERSION@ |
70 |
++Libs: -L${libdir} -lmetis |
71 |
++Cflags: -I${includedir}/metis |
72 |
--- ./METISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 |
73 |
+++ ./METISLib/Makefile.am 2008-03-25 09:45:51.421429040 +0000 |
74 |
@@ -0,0 +1,18 @@ |
75 |
-+include_HEADERS = defs.h macros.h metis.h proto.h rename.h \ |
76 |
++pkginclude_HEADERS = defs.h macros.h metis.h proto.h rename.h \ |
77 |
+ stdheaders.h struct.h |
78 |
+pkgincludedir = $(includedir)/metis |
79 |
+ |
80 |
@@ -241,7 +256,7 @@ |
81 |
--- ./ParMETISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 |
82 |
+++ ./ParMETISLib/Makefile.am 2008-03-25 11:16:59.090567020 +0000 |
83 |
@@ -0,0 +1,21 @@ |
84 |
-+include_HEADERS = defs.h macros.h parmetislib.h proto.h \ |
85 |
++pkginclude_HEADERS = defs.h macros.h parmetislib.h proto.h \ |
86 |
+ rename.h stdheaders.h struct.h |
87 |
+pkgincludedir = $(includedir)/parmetis |
88 |
+ |
89 |
@@ -280,7 +295,10 @@ |
90 |
+ $(MPIRUN) mtest ../Graphs/bricks.hex3d 2 |
91 |
--- ./Makefile.am 1970-01-01 01:00:00.000000000 +0100 |
92 |
+++ ./Makefile.am 2008-03-26 00:34:09.072802498 +0000 |
93 |
-@@ -0,0 +1,3 @@ |
94 |
+@@ -0,0 +1,5 @@ |
95 |
+SUBDIRS = METISLib ParMETISLib Programs |
96 |
-+EXTRA_DIST = CHANGES VERSION parmetis.pc.in |
97 |
++EXTRA_DIST = CHANGES VERSION parmetis.pc.in metis.pc.in |
98 |
+include_HEADERS = parmetis.h |
99 |
++pkgconfigdir = $(libdir)/pkgconfig |
100 |
++pkgconfig_DATA = metis.pc parmetis.pc |
101 |
+ |
102 |
|
103 |
|
104 |
|
105 |
-- |
106 |
gentoo-commits@l.g.o mailing list |