The current prepending of the buried compiler directory with...
prepend_path PATH %p/lib/gcc4.8/bin
set path=(\$Mdpath %p/lib/gcc4.8/bin \$path)
seems non-sensical since there are no instances of 'gfortran' in the patched source directory. The attached packaging eliminates those bogus uses of prepend and changes the instances of gfortran in the info file to gfortran-fsf-4.9 to allow the BuildDepends gcc48 to be replaced with the more appropriate BuildDepends gcc49-compiler. Tested with 'fink -m' on 10.10.
Index: modulef.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/modulef.info,v retrieving revision 1.2 diff -r1.2 modulef.info 3c3 < Revision: 11 --- > Revision: 12 12,13c12,13 < Depends: gcc48-compiler, gcc48-shlibs, x11-shlibs < BuildDepends: x11-dev, gcc48 --- > Depends: gcc49-compiler, gcc49-shlibs, x11-shlibs > BuildDepends: x11-dev, gcc49-compiler 40c40 < make CC="cc -Wno-return-type" F77="gfortran -O3 -fd-lines-as-comments" LINK="gfortran -O3 -Wl,-search_paths_first" --- > make CC="cc -Wno-return-type" F77="gfortran-fsf-4.9 -O3 -fd-lines-as-comments" LINK="gfortran-fsf-4.9 -O3 -Wl,-search_paths_first" 51d50 < prepend_path PATH %p/lib/gcc4.8/bin \ 59c58 < set path=(\$Mdpath %p/lib/gcc4.8/bin \$path)\ --- > set path=(\$Mdpath \$path)\
Info file for modulef-99-12
Patch files for modulef-99-12 are unchanged.
Note that dmacks 'recently' updated this to use gcc5, but did not incorporate all the changes from here.