[47769] trunk/dports/perl/p5-extutils-f77
blb at macports.org
blb at macports.org
Thu Mar 5 14:43:25 PST 2009
Revision: 47769
http://trac.macports.org/changeset/47769
Author: blb at macports.org
Date: 2009-03-05 14:43:25 -0800 (Thu, 05 Mar 2009)
Log Message:
-----------
perl/p5-extutils-f77 - version update to 1.16, switch to gcc43 for its fortran needs (ticket #15838)
Modified Paths:
--------------
trunk/dports/perl/p5-extutils-f77/Portfile
trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm
Modified: trunk/dports/perl/p5-extutils-f77/Portfile
===================================================================
--- trunk/dports/perl/p5-extutils-f77/Portfile 2009-03-05 22:40:23 UTC (rev 47768)
+++ trunk/dports/perl/p5-extutils-f77/Portfile 2009-03-05 22:43:25 UTC (rev 47769)
@@ -2,7 +2,7 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.setup ExtUtils-F77 1.14
+perl5.setup ExtUtils-F77 1.16
maintainers nomaintainer
description Helper for linking C with Fortran subroutines
long_description \
@@ -11,11 +11,18 @@
platforms darwin
-checksums md5 8b25d181fdedd3cdc6d5d26b9bf94d27
+checksums md5 af925e7e8a2876a5fd9b6c4660e37664 \
+ sha1 7965c687b2f724e481666ede1f9529676bf6a50b \
+ rmd160 106dac38e38bd5d6873e8cae0eb397545fe706ad
-depends_lib-append bin:g77:gcc34
+# Note, patch-F77.pm has some bits specific to gcc43, so if this dependency
+# is updated, update the patch as well
+depends_lib-append port:gcc43
platform darwin {
patchfiles-append patch-F77.pm
+ post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/F77.pm
+ }
}
Modified: trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm
===================================================================
--- trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm 2009-03-05 22:40:23 UTC (rev 47768)
+++ trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm 2009-03-05 22:43:25 UTC (rev 47769)
@@ -1,18 +1,16 @@
---- F77.pm.orig Fri Jun 15 14:04:17 2001
-+++ F77.pm Mon May 17 00:18:45 2004
-@@ -265,6 +265,15 @@
- $F77config{VMS}{DEFAULT} = 'Fortran';
- $F77config{VMS}{Fortran}{Compiler} = 'Fortran';
-
-+### Darwin ###
-+
-+# Note, this is MacPorts-specific, as it relies on MacPorts to make
-+# sure g77 is installed prior to this module being installed
-+
-+$F77config{Darwin}{G77} = $F77config{Generic}{G77};
-+$F77config{Darwin}{F2c} = $F77config{Generic}{G77};
-+$F77config{Darwin}{DEFAULT} = 'G77';
-+
- ############ End of database is here ############
-
- =head1 SYNOPSIS
+--- F77.pm.orig 2007-04-01 22:40:23.000000000 -0600
++++ F77.pm 2009-03-05 15:32:52.000000000 -0700
+@@ -341,10 +341,10 @@
+
+ $F77config{Darwin}{GFortran}{Trail_} = 1;
+ $F77config{Darwin}{GFortran}{Cflags} = ' '; # <---need this space!
+-$F77config{Darwin}{GFortran}{Link} = '-L/usr/local/lib -lgfortran';
+-$F77config{Darwin}{GFortran}{Compiler} = 'gfortran';
++$F77config{Darwin}{GFortran}{Link} = '-L@@PREFIX@@/lib/gcc43 -lgfortran';
++$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.3';
+
+-$F77config{Darwin}{DEFAULT} = 'G77';
++$F77config{Darwin}{DEFAULT} = 'GFortran';
+
+ ############ End of database is here ############
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090305/ab3bd3cd/attachment-0001.html>
More information about the macports-changes
mailing list