Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > media > main-release-src > by-pkgid > d4e1bf597da42d18e676f5d876a66d76 > files > 1

perl-ExtUtils_F77-1.14-14mdv2009.0.src.rpm

--- F77.pm.gfortran	2005-06-14 12:38:53.392795736 +0200
+++ F77.pm	2005-06-14 13:01:31.298362712 +0200
@@ -137,7 +137,7 @@
     my @libs = ('g2c', 'f2c');
     my ($dir, $lib, $test);
     foreach $test (@libs) {
-      $dir = `g77 -print-file-name=lib$test.a`;
+      $dir = `gfortran -print-file-name=lib$test.a`;
       chomp $dir;
       # Note that -print-file-name returns just the library name
       # if it cant be found - make sure that we only accept the
@@ -157,7 +157,7 @@
     return( "-L$dir -l$lib -lm" );
 };
 $F77config{Generic}{G77}{Trail_} = 1;
-$F77config{Generic}{G77}{Compiler} = find_in_path('g77','f77','fort77');
+$F77config{Generic}{G77}{Compiler} = find_in_path('g77','f77','fort77','gfortran');
 $F77config{Generic}{G77}{Cflags} = '-O';
 $F77config{Generic}{DEFAULT} = 'G77';
 $F77config{Generic}{F2c}     = $F77config{Generic}{G77};