summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-05 12:07:03 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-05 12:07:03 +0000
commit6183031fd960f58239c6b95a648a4f25b06e77d3 (patch)
treea1a43101f504539536f943101ea926ca986194ce /sci-libs
parentRemove the dependency on sys-libs/lrmi. (diff)
downloadhistorical-6183031fd960f58239c6b95a648a4f25b06e77d3.tar.gz
historical-6183031fd960f58239c6b95a648a4f25b06e77d3.tar.bz2
historical-6183031fd960f58239c6b95a648a4f25b06e77d3.zip
Fixed parallel-make for fortran. Closing bug #187759, thanks to Ed Catmur <ed@catmur.co.uk>. Removed obsolete versions.
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/netcdf/ChangeLog8
-rw-r--r--sci-libs/netcdf/Manifest50
-rw-r--r--sci-libs/netcdf/files/digest-netcdf-3.5.0-r33
-rw-r--r--sci-libs/netcdf/files/digest-netcdf-3.6.0-r13
-rw-r--r--sci-libs/netcdf/files/gcc3-gentoo.patch245
-rw-r--r--sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch15
-rw-r--r--sci-libs/netcdf/netcdf-3.5.0-r3.ebuild43
-rw-r--r--sci-libs/netcdf/netcdf-3.6.0-r1.ebuild39
-rw-r--r--sci-libs/netcdf/netcdf-3.6.2.ebuild11
9 files changed, 53 insertions, 364 deletions
diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog
index f7a4e0097c93..33fe892be2ae 100644
--- a/sci-libs/netcdf/ChangeLog
+++ b/sci-libs/netcdf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/netcdf
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.36 2007/07/31 03:56:48 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.37 2007/08/05 12:07:03 bicatali Exp $
+
+ 05 Aug 2007; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/netcdf-3.6.2-parallel-make.patch, -files/gcc3-gentoo.patch,
+ -netcdf-3.5.0-r3.ebuild, -netcdf-3.6.0-r1.ebuild, netcdf-3.6.2.ebuild:
+ Fixed parallel-make for fortran. Closing bug #187759, thanks to Ed Catmur
+ <ed@catmur.co.uk>. Removed obsolete versions.
31 Jul 2007; Steve Arnold <nerdboy@gentoo.org> netcdf-3.6.2.ebuild:
Added FFLAGS fix for build failure on amd64 (real size mis-match). AFAIK
diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest
index 4b5e5aa0bffb..d1b721ff8b28 100644
--- a/sci-libs/netcdf/Manifest
+++ b/sci-libs/netcdf/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX fPIC.1.patch 816 RMD160 4640831dac116428fc1b7bb80a27a0c3ad59cc15 SHA1 3ed50725c51c66cdbf769b2214d0e2be9d4aa850 SHA256 d5f9431b102815c5000fb2a97536d5a74aa1c83acbc1df11e5ad9716f9623501
MD5 da36efc15fffb2c79992752200446dce files/fPIC.1.patch 816
RMD160 4640831dac116428fc1b7bb80a27a0c3ad59cc15 files/fPIC.1.patch 816
@@ -6,22 +9,12 @@ AUX fPIC.patch 209 RMD160 f7336b30c070a75335bed8280e5f1505a03ce464 SHA1 c5e87289
MD5 46a9de0130f415c3cff34812e9ce6724 files/fPIC.patch 209
RMD160 f7336b30c070a75335bed8280e5f1505a03ce464 files/fPIC.patch 209
SHA256 7c24234fdc8b9f4031989949398aa203aafd492d367d71c02e1ce41b5b39d68c files/fPIC.patch 209
-AUX gcc3-gentoo.patch 6826 RMD160 b48d5a9e9b175b1566b17a7778fc82aaa919ba14 SHA1 b57fd475f421a1f12afac9775ae1560ee2dd53d5 SHA256 789a2167109f7e09440290a8f91354cb0a0b7ca90157ce76b83ec811ac370e18
-MD5 3dff80a6b8f002594a1e93145ffa6311 files/gcc3-gentoo.patch 6826
-RMD160 b48d5a9e9b175b1566b17a7778fc82aaa919ba14 files/gcc3-gentoo.patch 6826
-SHA256 789a2167109f7e09440290a8f91354cb0a0b7ca90157ce76b83ec811ac370e18 files/gcc3-gentoo.patch 6826
-DIST netcdf-3.5.0.tar.Z 1319419 RMD160 4313e00fc56273e871c003bfb27c533d4a7f556f SHA1 e9c5a9847d8ff9b3e1b8a18f5e216f6a1508bce8 SHA256 d3a2113a9174d845dc377122826cd68b1e02fbb253c0f0c253b8e1c199c84b97
-DIST netcdf-3.6.0-p1.tar.gz 842025 RMD160 f59877c5f1f70b7099f263f0a34c1b1bd12d41d9 SHA1 7e02a62a1abe9c1f00222f44ed44d63def3cc3d2 SHA256 a9e6105ed89ce6cfd2edc78e8184232a2f950e674c5241c28cae361a1fe1adfe
+AUX netcdf-3.6.2-parallel-make.patch 475 RMD160 fc042a98b1272c0c7651043ddc18d0c9b93049e0 SHA1 5a20d7df8a72daf3dc0f91fca979f636ee67a43f SHA256 728188ad6f87825229491926fe289fbd9d79728e7322c5602b5b25ab50f34b5b
+MD5 86cd0110db3ec8db4498225887de3e63 files/netcdf-3.6.2-parallel-make.patch 475
+RMD160 fc042a98b1272c0c7651043ddc18d0c9b93049e0 files/netcdf-3.6.2-parallel-make.patch 475
+SHA256 728188ad6f87825229491926fe289fbd9d79728e7322c5602b5b25ab50f34b5b files/netcdf-3.6.2-parallel-make.patch 475
DIST netcdf-3.6.1.tar.gz 883888 RMD160 f46c3f65645169db60c8523eb28d498dfb6f7760 SHA1 42dfacab24f2af5fbc16a75769c7295d0b228542 SHA256 15c42a2c698c4e42ee17720701168711d86e97e97311223015d07853fb09249f
DIST netcdf-3.6.2.tar.gz 5312882 RMD160 dcf1efa90b7479215ac0a2d8dc231d94dddc73d8 SHA1 32fb81f39ffccab539124cc3d5f619965ce42f36 SHA256 feaa7673f369e5fb57fcc51426e2be694228ddcc141fc3fd20399269fb6b9311
-EBUILD netcdf-3.5.0-r3.ebuild 1191 RMD160 98c2c96ceeff47dc6a9a719dd325e78c2e673540 SHA1 f84438d52764f45c5efcddf09c442cb65bc3e23f SHA256 cb28a00373d131f2773f6d0e5787b069fbf63d823dc068b8e478a63a7c019251
-MD5 c55ccac2970f76fab639d3cfe7c41f1f netcdf-3.5.0-r3.ebuild 1191
-RMD160 98c2c96ceeff47dc6a9a719dd325e78c2e673540 netcdf-3.5.0-r3.ebuild 1191
-SHA256 cb28a00373d131f2773f6d0e5787b069fbf63d823dc068b8e478a63a7c019251 netcdf-3.5.0-r3.ebuild 1191
-EBUILD netcdf-3.6.0-r1.ebuild 1136 RMD160 bfbbb8f04db3033a70f7a9e478c2369bb6188edb SHA1 d3dad0342401b6ac4f1defd74d8c9b46a5478201 SHA256 b0f9ceced4b810c4562325009706d3ace2b70dc3aca36bb5b578e83814c4faab
-MD5 290f2787fee3e3b4ba4af62e2e2f328b netcdf-3.6.0-r1.ebuild 1136
-RMD160 bfbbb8f04db3033a70f7a9e478c2369bb6188edb netcdf-3.6.0-r1.ebuild 1136
-SHA256 b0f9ceced4b810c4562325009706d3ace2b70dc3aca36bb5b578e83814c4faab netcdf-3.6.0-r1.ebuild 1136
EBUILD netcdf-3.6.1-r1.ebuild 1942 RMD160 42a193cbcdc44a15683990d62c1a81496e5c7347 SHA1 c17acc092474bdfcbe6186bc25da4454e1e887d3 SHA256 6dca89f478be2a2641df69049e7704d8e0dde2202be6a3a5e30788defc0c8189
MD5 83301c2d8d14c8d04bd5edc882ad2de7 netcdf-3.6.1-r1.ebuild 1942
RMD160 42a193cbcdc44a15683990d62c1a81496e5c7347 netcdf-3.6.1-r1.ebuild 1942
@@ -30,24 +23,18 @@ EBUILD netcdf-3.6.1.ebuild 1932 RMD160 281ab589d135ac62c4881c4f4ea7f39c39828a47
MD5 4d5d4637ad171403872323fe26ab0197 netcdf-3.6.1.ebuild 1932
RMD160 281ab589d135ac62c4881c4f4ea7f39c39828a47 netcdf-3.6.1.ebuild 1932
SHA256 22d73c9434ed09b0a060767bcd42097cc568fbcb4809d57defc37d98711a84a8 netcdf-3.6.1.ebuild 1932
-EBUILD netcdf-3.6.2.ebuild 2308 RMD160 787a1ab23a9d780c6297b81ab992df36f54cf265 SHA1 d0ac2cf218ae32e41302963438ae112dc336b884 SHA256 eaf707a6effaa9757e1c6430fbd4505258a0473a4b973090eadc12b236d3eb76
-MD5 c2433717df377d4f0d4d3b0f2e83c03a netcdf-3.6.2.ebuild 2308
-RMD160 787a1ab23a9d780c6297b81ab992df36f54cf265 netcdf-3.6.2.ebuild 2308
-SHA256 eaf707a6effaa9757e1c6430fbd4505258a0473a4b973090eadc12b236d3eb76 netcdf-3.6.2.ebuild 2308
-MISC ChangeLog 8359 RMD160 cb5fdc862659f27bb150dd4e4dde215d1fd9d813 SHA1 0033a0d0e090854823b7e87df9ff055bcda7ee48 SHA256 9ecd0e2e88a6b56b5751974c874430d97044644658c4b8f160779aec14e3b583
-MD5 91823780f3984424d5379ab4cc0c9762 ChangeLog 8359
-RMD160 cb5fdc862659f27bb150dd4e4dde215d1fd9d813 ChangeLog 8359
-SHA256 9ecd0e2e88a6b56b5751974c874430d97044644658c4b8f160779aec14e3b583 ChangeLog 8359
+EBUILD netcdf-3.6.2.ebuild 2421 RMD160 13e931dd2ef4609ec3fb6c34ad3fee4de5d8fa51 SHA1 f09267bb26e8d0529ca26a793984257f950e5e41 SHA256 74fac8b73034998ff98d7d97fb0bec0eb9fe0576a7deeea502024941b942ea74
+MD5 600e3189b36bc59034d72d621ea7b609 netcdf-3.6.2.ebuild 2421
+RMD160 13e931dd2ef4609ec3fb6c34ad3fee4de5d8fa51 netcdf-3.6.2.ebuild 2421
+SHA256 74fac8b73034998ff98d7d97fb0bec0eb9fe0576a7deeea502024941b942ea74 netcdf-3.6.2.ebuild 2421
+MISC ChangeLog 8682 RMD160 3bb3fd28d6b3c1d1b5fcdbc64b2e016a7fdfa9eb SHA1 e6131306f4e1f795217fe92de247d5c57599e397 SHA256 4eea6769b7f929a0953a022a0490300fb1416228bda6569f5a61d5c3733056f7
+MD5 ebfd8a45fbddd8c509edfb2634765631 ChangeLog 8682
+RMD160 3bb3fd28d6b3c1d1b5fcdbc64b2e016a7fdfa9eb ChangeLog 8682
+SHA256 4eea6769b7f929a0953a022a0490300fb1416228bda6569f5a61d5c3733056f7 ChangeLog 8682
MISC metadata.xml 575 RMD160 638c53aa85064f37973c46069075a55d1cc02c9b SHA1 1b31b9514dc8f1d56c4c9e0bfe58e0d4f6ce2e9e SHA256 4fc8a40dde64837250400a3468add946b4cc8b29b74b9fc2b7b416534dab04f6
MD5 6e13f312bd19633ba0c7be0f125451f0 metadata.xml 575
RMD160 638c53aa85064f37973c46069075a55d1cc02c9b metadata.xml 575
SHA256 4fc8a40dde64837250400a3468add946b4cc8b29b74b9fc2b7b416534dab04f6 metadata.xml 575
-MD5 cf0a69126ac6374cd8b5c27eb89359ba files/digest-netcdf-3.5.0-r3 238
-RMD160 76c08d5b7b7d68cbb89f45b557b51a1e0956282a files/digest-netcdf-3.5.0-r3 238
-SHA256 1300bb1cc4d8dde58fa4dc5c37cd16861288412b14361f05cd287690a530a4db files/digest-netcdf-3.5.0-r3 238
-MD5 edb4d2293cb8883ce39689b2fe3d96fc files/digest-netcdf-3.6.0-r1 247
-RMD160 a69f4b08c1ed395cfb7e8b8cf2fcec4f1b30e3c6 files/digest-netcdf-3.6.0-r1 247
-SHA256 c70d6c6ddff5b9a6d17980ce22519f1e2b31f6a0d70db5881220e07910f5204d files/digest-netcdf-3.6.0-r1 247
MD5 aadb37991539590d3976082a9b2bf476 files/digest-netcdf-3.6.1 238
RMD160 657662424942042a437aa01ed81f26392709573a files/digest-netcdf-3.6.1 238
SHA256 9494146ba09f3753dad7e578aff473f639fa38c84759738e00abc13782047bc3 files/digest-netcdf-3.6.1 238
@@ -57,3 +44,10 @@ SHA256 9494146ba09f3753dad7e578aff473f639fa38c84759738e00abc13782047bc3 files/di
MD5 76269455a88702493b70db92a1cc360b files/digest-netcdf-3.6.2 241
RMD160 9f29e9ea8efe759f6a14c35952034b45ea7e612c files/digest-netcdf-3.6.2 241
SHA256 7d58e86cb28eae8a59453893dafaaf601d78ab9c2a343b742239cf35916ba816 files/digest-netcdf-3.6.2 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFGtb1t1ycZbhPLE2ARAp4TAJwLMd5sRye3/ry1WtJywPECANMidwCghwZa
+qowPf4SgUCai12Rqh6qr1f8=
+=MIb8
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/netcdf/files/digest-netcdf-3.5.0-r3 b/sci-libs/netcdf/files/digest-netcdf-3.5.0-r3
deleted file mode 100644
index 730db80e2338..000000000000
--- a/sci-libs/netcdf/files/digest-netcdf-3.5.0-r3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 28640a40a44f982f90f5eeb15e917a1f netcdf-3.5.0.tar.Z 1319419
-RMD160 4313e00fc56273e871c003bfb27c533d4a7f556f netcdf-3.5.0.tar.Z 1319419
-SHA256 d3a2113a9174d845dc377122826cd68b1e02fbb253c0f0c253b8e1c199c84b97 netcdf-3.5.0.tar.Z 1319419
diff --git a/sci-libs/netcdf/files/digest-netcdf-3.6.0-r1 b/sci-libs/netcdf/files/digest-netcdf-3.6.0-r1
deleted file mode 100644
index 8751c862900c..000000000000
--- a/sci-libs/netcdf/files/digest-netcdf-3.6.0-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 27c193e0462d9979406d167a01a5ee95 netcdf-3.6.0-p1.tar.gz 842025
-RMD160 f59877c5f1f70b7099f263f0a34c1b1bd12d41d9 netcdf-3.6.0-p1.tar.gz 842025
-SHA256 a9e6105ed89ce6cfd2edc78e8184232a2f950e674c5241c28cae361a1fe1adfe netcdf-3.6.0-p1.tar.gz 842025
diff --git a/sci-libs/netcdf/files/gcc3-gentoo.patch b/sci-libs/netcdf/files/gcc3-gentoo.patch
deleted file mode 100644
index dd4d05c42f4b..000000000000
--- a/sci-libs/netcdf/files/gcc3-gentoo.patch
+++ /dev/null
@@ -1,245 +0,0 @@
-*** cxx/ncvalues.h.orig 2002-07-31 03:03:17.000000000 +0930
---- cxx/ncvalues.h 2002-07-31 03:26:14.000000000 +0930
-***************
-*** 10,25 ****
- #ifndef Ncvalues_def
- #define Ncvalues_def
-
-! #include <iostream.h>
-! #ifdef STRSTREAM_H_SPEC
-! # include STRSTREAM_H_SPEC
-! #else
-! # include <strstream.h>
-! #endif
- #include <limits.h>
- #include <string.h>
- #include "netcdf.h"
-!
- typedef unsigned char ncbyte;
-
- #define NC_UNSPECIFIED ((nc_type)0)
---- 10,22 ----
- #ifndef Ncvalues_def
- #define Ncvalues_def
-
-! #include <iostream>
-! #include <sstream>
-! extern "C" {
- #include <limits.h>
- #include <string.h>
- #include "netcdf.h"
-! }
- typedef unsigned char ncbyte;
-
- #define NC_UNSPECIFIED ((nc_type)0)
-***************
-*** 82,88 ****
- virtual int invalid( void ) const; \
- private: \
- TYPE* the_values; \
-! ostream& print(ostream&) const; \
- };
-
- #define NcTypeEnum(TYPE) makename2(_nc__,TYPE)
---- 79,85 ----
- virtual int invalid( void ) const; \
- private: \
- TYPE* the_values; \
-! std::ostream& print(std::ostream&) const; \
- };
-
- #define NcTypeEnum(TYPE) makename2(_nc__,TYPE)
-***************
-*** 218,228 ****
-
- #define as_string_implement(TYPE) \
- char* NcVal(TYPE)::as_string( long n ) const \
-! { \
- char* s = new char[32]; \
-! ostrstream ostr(s, sizeof(s)); \
-! ostr << the_values[n] << ends; \
-! return s; \
- }
-
- class NcValues // ABC for value blocks
---- 215,227 ----
-
- #define as_string_implement(TYPE) \
- char* NcVal(TYPE)::as_string( long n ) const \
-! { \
- char* s = new char[32]; \
-! ostringstream ostr; \
-! ostr << the_values[n]; \
-! strncpy(s,ostr.str().c_str(),32); \
-! s[31]=0; \
-! return s; \
- }
-
- class NcValues // ABC for value blocks
-***************
-*** 232,238 ****
- NcValues(NcType, long);
- virtual ~NcValues( void );
- virtual long num( void );
-! virtual ostream& print(ostream&) const = 0;
- virtual void* base( void ) const = 0;
- virtual int bytes_for_one( void ) const = 0;
-
---- 231,237 ----
- NcValues(NcType, long);
- virtual ~NcValues( void );
- virtual long num( void );
-! virtual std::ostream& print(std::ostream&) const = 0;
- virtual void* base( void ) const = 0;
- virtual int bytes_for_one( void ) const = 0;
-
-***************
-*** 252,258 ****
- protected:
- NcType the_type;
- long the_number;
-! friend ostream& operator<< (ostream&, const NcValues&);
- };
-
- declare(NcValues,ncbyte)
---- 251,257 ----
- protected:
- NcType the_type;
- long the_number;
-! friend std::ostream& operator<< (std::ostream&, const NcValues&);
- };
-
- declare(NcValues,ncbyte)
-*** cxx/ncvalues.cpp.orig 2002-07-31 03:12:52.000000000 +0930
---- cxx/ncvalues.cpp 2002-07-31 03:13:56.000000000 +0930
-***************
-*** 7,15 ****
- * $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/files/gcc3-gentoo.patch,v 1.1 2004/12/28 18:29:26 ribosome Exp $
- *********************************************************************/
-
-! #include <iostream.h> // for debugging
- #include "ncvalues.h"
-
- NcValues::NcValues( void ) : the_number(0), the_type(ncNoType)
- {}
-
---- 7,17 ----
- * $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/files/gcc3-gentoo.patch,v 1.1 2004/12/28 18:29:26 ribosome Exp $
- *********************************************************************/
-
-! #include <iostream> // for debugging
- #include "ncvalues.h"
-
-+ using namespace std;
-+
- NcValues::NcValues( void ) : the_number(0), the_type(ncNoType)
- {}
-
-***************
-*** 304,310 ****
-
- ostream& NcValues_float::print(ostream& os) const
- {
-! long save=os.flags();
- os.precision(7);
- for(int i = 0; i < the_number - 1; i++)
- os << the_values[i] << ", ";
---- 306,312 ----
-
- ostream& NcValues_float::print(ostream& os) const
- {
-! ios::fmtflags save=os.flags();
- os.precision(7);
- for(int i = 0; i < the_number - 1; i++)
- os << the_values[i] << ", ";
-***************
-*** 316,322 ****
-
- ostream& NcValues_double::print(ostream& os) const
- {
-! long save=os.flags();
- os.precision(15);
- for(int i = 0; i < the_number - 1; i++)
- os << the_values[i] << ", ";
---- 318,324 ----
-
- ostream& NcValues_double::print(ostream& os) const
- {
-! ios::fmtflags save=os.flags();
- os.precision(15);
- for(int i = 0; i < the_number - 1; i++)
- os << the_values[i] << ", ";
-*** cxx/netcdfcpp.h.orig 2002-07-31 03:07:35.000000000 +0930
---- cxx/netcdfcpp.h 2002-07-31 03:07:56.000000000 +0930
-***************
-*** 154,160 ****
- virtual ~NcDim( void );
-
- // to construct dimensions, since constructor is private
-! friend NcFile;
- };
-
-
---- 154,160 ----
- virtual ~NcDim( void );
-
- // to construct dimensions, since constructor is private
-! friend class NcFile;
- };
-
-
-***************
-*** 357,363 ****
- void init_cur( void );
-
- // to make variables, since constructor is private
-! friend NcFile;
- };
-
-
---- 357,363 ----
- void init_cur( void );
-
- // to make variables, since constructor is private
-! friend class NcFile;
- };
-
-
-***************
-*** 388,394 ****
- NcAtt( NcFile*, NcToken); // global attribute
-
- // To make attributes, since constructor is private
-! friend NcFile;
- friend NcAtt* NcVar::get_att( NcToken ) const;
- };
-
---- 388,394 ----
- NcAtt( NcFile*, NcToken); // global attribute
-
- // To make attributes, since constructor is private
-! friend class NcFile;
- friend NcAtt* NcVar::get_att( NcToken ) const;
- };
-
-*** cxx/nctst.cpp.orig 2002-07-31 04:00:10.000000000 +0930
---- cxx/nctst.cpp 2002-07-31 04:00:19.000000000 +0930
-***************
-*** 1,7 ****
-! #include <iostream.h>
- #include <string.h>
- #include "netcdfcpp.h"
-
- void gen(const char* path) // Generate a netCDF file
- {
- NcFile nc(path, NcFile::Replace); // Create, leave in define mode
---- 1,9 ----
-! #include <iostream>
- #include <string.h>
- #include "netcdfcpp.h"
-
-+ using namespace std;
-+
- void gen(const char* path) // Generate a netCDF file
- {
- NcFile nc(path, NcFile::Replace); // Create, leave in define mode
diff --git a/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch b/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch
new file mode 100644
index 000000000000..11b1b61214e3
--- /dev/null
+++ b/sci-libs/netcdf/files/netcdf-3.6.2-parallel-make.patch
@@ -0,0 +1,15 @@
+--- f90/Makefile.am 2007/08/04 22:02:56 1.1
++++ f90/Makefile.am 2007/08/04 22:09:55
+@@ -64,10 +64,12 @@ if UPPER_CASE_MOD
+ nodist_include_HEADERS = TYPESIZES.mod NETCDF.mod
+ TYPESIZES.mod: typeSizes.o
+ NETCDF.mod: $(NETCDF_O)
++$(NETCDF_O): TYPESIZES.mod
+ else
+ nodist_include_HEADERS = typesizes.mod netcdf.mod
+ typesizes.mod: typeSizes.o
+ netcdf.mod: $(NETCDF_O)
++$(NETCDF_O): typesizes.mod
+ endif
+
+ # This is what we are building: a convenience library of F90 functions.
diff --git a/sci-libs/netcdf/netcdf-3.5.0-r3.ebuild b/sci-libs/netcdf/netcdf-3.5.0-r3.ebuild
deleted file mode 100644
index 897d51cf90b9..000000000000
--- a/sci-libs/netcdf/netcdf-3.5.0-r3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.5.0-r3.ebuild,v 1.3 2005/02/18 05:16:41 nerdboy Exp $
-
-inherit eutils
-
-DESCRIPTION="Scientific library and interface for array oriented data access"
-SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/old/${P}.tar.Z"
-HOMEPAGE="http://www.unidata.ucar.edu/packages/netcdf/"
-
-LICENSE="UCAR-Unidata"
-SLOT="0"
-IUSE=""
-KEYWORDS="x86 sparc amd64 alpha ia64 ppc mips hppa"
-
-S=${WORKDIR}/${P}/src
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # welcome to ANSI C++ coding with sed
- sed \
- -e 's/iostream\.h/iostream/g' \
- -e 's/cout/std::cout/g' \
- -e 's/^extern "C".*//g' -i configure || die
-
- cd cxx && epatch ${FILESDIR}/gcc3-gentoo.patch
-}
-
-src_compile() {
- export CPPFLAGS=-Df2cFortran
- econf || die "econf failed"
- make || die
- make test || die
-}
-
-src_install() {
- dodir /usr/{lib,share} /usr/share/man/man3 /usr/share/man/man3f
- einstall MANDIR=${D}/usr/share/man
- mv ${D}/usr/share/man/man3/netcdf.3f ${D}/usr/share/man/man3f/.
- dodoc COMPATIBILITY COPYRIGHT MANIFEST README RELEASE_NOTES VERSION fortran/cfortran.doc
- dohtml -r .
-}
diff --git a/sci-libs/netcdf/netcdf-3.6.0-r1.ebuild b/sci-libs/netcdf/netcdf-3.6.0-r1.ebuild
deleted file mode 100644
index a484da01c0fb..000000000000
--- a/sci-libs/netcdf/netcdf-3.6.0-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.0-r1.ebuild,v 1.9 2006/05/07 19:53:20 corsair Exp $
-
-inherit eutils
-
-MY_PV=${PV}-p1
-
-DESCRIPTION="Scientific library and interface for array oriented data access"
-SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${PN}-${MY_PV}.tar.gz"
-HOMEPAGE="http://my.unidata.ucar.edu/content/software/netcdf/index.html"
-
-LICENSE="UCAR-Unidata"
-SLOT="0"
-IUSE=""
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-
-S=${WORKDIR}/${PN}-${MY_PV}/src
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/fPIC.patch || die "fPIC patch failed"
-}
-
-src_compile() {
- export CPPFLAGS=-Df2cFortran
- econf || die "econf failed"
- make || die "make failed"
- make test || die "make test failed"
-}
-
-src_install() {
- dodir /usr/{lib,share} /usr/share/man/man3 /usr/share/man/man3f
- einstall MANDIR=${D}/usr/share/man
- mv ${D}/usr/share/man/man3/netcdf.3f ${D}/usr/share/man/man3f/.
- dodoc COMPATIBILITY COPYRIGHT MANIFEST README RELEASE_NOTES VERSION fortran/cfortran.doc
- dohtml -r .
-}
diff --git a/sci-libs/netcdf/netcdf-3.6.2.ebuild b/sci-libs/netcdf/netcdf-3.6.2.ebuild
index 096fa9fa55b3..124b6f1e43aa 100644
--- a/sci-libs/netcdf/netcdf-3.6.2.ebuild
+++ b/sci-libs/netcdf/netcdf-3.6.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.3 2007/07/31 03:56:48 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.4 2007/08/05 12:07:03 bicatali Exp $
-inherit fortran eutils toolchain-funcs flag-o-matic
+inherit fortran eutils toolchain-funcs flag-o-matic autotools
DESCRIPTION="Scientific library and interface for array oriented data access"
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
@@ -24,6 +24,13 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-parallel-make.patch
+ eautoreconf
+}
+
src_compile() {
use debug || append-cppflags -DNDEBUG
local myconf