Changeset 47769


Ignore:
Timestamp:
Mar 5, 2009, 10:43:25 PM (11 years ago)
Author:
blb@…
Message:

perl/p5-extutils-f77 - version update to 1.16, switch to gcc43 for its fortran needs (ticket #15838)

Location:
trunk/dports/perl/p5-extutils-f77
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-extutils-f77/Portfile

    r47768 r47769  
    33PortSystem          1.0
    44PortGroup           perl5 1.0
    5 perl5.setup         ExtUtils-F77 1.14
     5perl5.setup         ExtUtils-F77 1.16
    66maintainers         nomaintainer
    77description         Helper for linking C with Fortran subroutines
     
    1212platforms           darwin
    1313
    14 checksums           md5 8b25d181fdedd3cdc6d5d26b9bf94d27
     14checksums           md5     af925e7e8a2876a5fd9b6c4660e37664 \
     15                    sha1    7965c687b2f724e481666ede1f9529676bf6a50b \
     16                    rmd160  106dac38e38bd5d6873e8cae0eb397545fe706ad
    1517
    16 depends_lib-append  bin:g77:gcc34
     18# Note, patch-F77.pm has some bits specific to gcc43, so if this dependency
     19# is updated, update the patch as well
     20depends_lib-append  port:gcc43
    1721
    1822platform darwin {
    1923   patchfiles-append   patch-F77.pm
     24    post-patch {
     25        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/F77.pm
     26    }
    2027}
    2128
  • trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm

    r45468 r47769  
    1 --- F77.pm.orig Fri Jun 15 14:04:17 2001
    2 +++ F77.pm      Mon May 17 00:18:45 2004
    3 @@ -265,6 +265,15 @@
    4  $F77config{VMS}{DEFAULT}     = 'Fortran';
    5  $F77config{VMS}{Fortran}{Compiler} = 'Fortran';
     1--- F77.pm.orig 2007-04-01 22:40:23.000000000 -0600
     2+++ F77.pm      2009-03-05 15:32:52.000000000 -0700
     3@@ -341,10 +341,10 @@
    64 
    7 +### Darwin ###
    8 +
    9 +# Note, this is MacPorts-specific, as it relies on MacPorts to make
    10 +# sure g77 is installed prior to this module being installed
    11 +
    12 +$F77config{Darwin}{G77} = $F77config{Generic}{G77};
    13 +$F77config{Darwin}{F2c} = $F77config{Generic}{G77};
    14 +$F77config{Darwin}{DEFAULT} = 'G77';
    15 +
     5 $F77config{Darwin}{GFortran}{Trail_} = 1;
     6 $F77config{Darwin}{GFortran}{Cflags} = ' ';        # <---need this space!
     7-$F77config{Darwin}{GFortran}{Link}   = '-L/usr/local/lib -lgfortran';   
     8-$F77config{Darwin}{GFortran}{Compiler} = 'gfortran';
     9+$F77config{Darwin}{GFortran}{Link}   = '-L@@PREFIX@@/lib/gcc43 -lgfortran';   
     10+$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.3';
     11 
     12-$F77config{Darwin}{DEFAULT}     = 'G77';
     13+$F77config{Darwin}{DEFAULT}     = 'GFortran';
     14 
    1615 ############ End of database is here ############
    1716 
    18  =head1 SYNOPSIS
Note: See TracChangeset for help on using the changeset viewer.