Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/netcdf/files: netcdf-3.6.2-parallel-make.patch
Date: Fri, 28 Sep 2007 11:34:06
Message-Id: E1IbDy2-0004cx-7K@stork.gentoo.org
1 bicatali 07/09/28 11:25:10
2
3 Modified: netcdf-3.6.2-parallel-make.patch
4 Log:
5 Fixes parallell make with -j2 (real this time), uses FFLAGS for fortran 90 and do not remove .la files.
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.2 sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch?r1=1.1&r2=1.2
14
15 Index: netcdf-3.6.2-parallel-make.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- netcdf-3.6.2-parallel-make.patch 5 Aug 2007 12:07:03 -0000 1.1
22 +++ netcdf-3.6.2-parallel-make.patch 28 Sep 2007 11:25:09 -0000 1.2
23 @@ -1,15 +1,39 @@
24 ---- f90/Makefile.am 2007/08/04 22:02:56 1.1
25 -+++ f90/Makefile.am 2007/08/04 22:09:55
26 -@@ -64,10 +64,12 @@ if UPPER_CASE_MOD
27 +--- f90/Makefile.am.orig 2007-03-01 19:46:10.000000000 +0000
28 ++++ f90/Makefile.am 2007-09-28 12:11:09.488085153 +0100
29 +@@ -37,7 +37,7 @@
30 + libnetcdff90_la_DEPENDENCIES += netcdf4_func.f90 netcdf4_externals.f90 \
31 + netcdf4_visibility.f90 netcdf4_constants.f90 netcdf4.f90
32 +
33 +-NETCDF_O = netcdf4.o
34 ++NETCDF_ = netcdf4
35 +
36 + else # not USE_NETCDF4
37 +
38 +@@ -48,7 +48,7 @@
39 + libnetcdff90_la_SOURCES += netcdf.f90
40 + libnetcdff90_la_DEPENDENCIES += netcdf.f90
41 +
42 +-NETCDF_O = netcdf.o
43 ++NETCDF_ = netcdf
44 +
45 + endif # USE_NETCDF4
46 +
47 +@@ -62,12 +62,14 @@
48 + # uppercase. Just to be special.
49 + if UPPER_CASE_MOD
50 nodist_include_HEADERS = TYPESIZES.mod NETCDF.mod
51 - TYPESIZES.mod: typeSizes.o
52 - NETCDF.mod: $(NETCDF_O)
53 -+$(NETCDF_O): TYPESIZES.mod
54 +-TYPESIZES.mod: typeSizes.o
55 +-NETCDF.mod: $(NETCDF_O)
56 ++TYPESIZES.mod: typeSizes.o typeSizes.lo
57 ++NETCDF.mod: $(NETCDF_).o $(NETCDF_).lo
58 ++$(NETCDF_).o : TYPESIZES.mod
59 else
60 nodist_include_HEADERS = typesizes.mod netcdf.mod
61 - typesizes.mod: typeSizes.o
62 - netcdf.mod: $(NETCDF_O)
63 -+$(NETCDF_O): typesizes.mod
64 +-typesizes.mod: typeSizes.o
65 +-netcdf.mod: $(NETCDF_O)
66 ++typesizes.mod: typeSizes.o typeSizes.lo
67 ++netcdf.mod: $(NETCDF_).o $(NETCDF_).lo
68 ++$(NETCDF_).o : typesizes.mod
69 endif
70
71 # This is what we are building: a convenience library of F90 functions.
72
73
74
75 --
76 gentoo-commits@g.o mailing list