Please find attached an update to the netcdf-3.6.0-p1 ebuild for the new netcdf 3.6.1 version. In addition to bumping the version number, I have modified src_compile() to allow the package to compile with gcc-4.x; gfortran-4.x requires -DpgiFortran to be set, while g77-3.x requires -Df2cFortran. Jordan
Created attachment 83991 [details] ebuild for netcdf-3.6.1
Created attachment 84096 [details, diff] slightly updated patch Hi, Thank you very much for the ebuild and I have slightly modified it. Please give it a try and report back! Thanks, Markus
(In reply to comment #2) > Created an attachment (id=84096) [edit] > slightly updated patch > > Hi, > > Thank you very much for the ebuild and I have slightly modified it. > Please give it a try and report back! Hi, I tested it on ppc with gfortran from gcc4.1.0 and it works for me. Thanks, Francois
Tried on x86 with gcc-4.1.0 (gfortran) and gcc-3.4.5 (g77). Both worked fine. Jordan
Thank you both very much for testing. Version 3.6.1 is not in CVS :) best, Markus