Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv3423/stable/main/finkinfo/devel

Modified Files:
        floppy.info flow.info 
Log Message:
floppy, flow: fix missing f77 compiler.

Index: floppy.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/floppy.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- floppy.info 17 May 2011 08:49:11 -0000      1.1
+++ floppy.info 19 May 2011 21:32:15 -0000      1.2
@@ -1,6 +1,6 @@
 Package: floppy
 Version: 7.0
-Revision: 2
+Revision: 3
 Description: Fortran source code analyzer
 Architecture: powerpc, i386, x86_64
 Provides: floppy
@@ -13,6 +13,16 @@
 Source-MD5: d6b18299d2be71e9fa25a8046cdd530c
 NoSourceDirectory: true
 
+PatchScript: <<
+#!/bin/sh -ev
+# newer fortrans habe a function range
+  sed -i.bak 's|RANGE|EGNAR|g' range.for procom.for settyp.for
+# replace f77 by gfortran if available
+  if [ -f %p/bin/gfortran ]; then
+    sed -i.bak 's|f77|gfortran|g' makefile
+  fi
+<<
+
 # Compile Phase (NOTE: there is no configure):
 CompileScript: <<
 #!/bin/sh -ev

Index: flow.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/flow.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- flow.info   17 May 2011 08:49:11 -0000      1.1
+++ flow.info   19 May 2011 21:32:15 -0000      1.2
@@ -1,6 +1,6 @@
 Package: flow
 Version: 3.0
-Revision: 2
+Revision: 3
 Description: Fortran source code analyzer
 Architecture: powerpc, i386, x86_64
 Provides: flow
@@ -13,6 +13,14 @@
 Source-MD5: 89596688c6593ae31886789d74c2f0dd
 NoSourceDirectory: true
 
+PatchScript: <<
+#!/bin/sh -ev
+# replace f77 by gfortran if available
+  if [ -f %p/bin/gfortran ]; then
+    sed -i.bak 's|f77|gfortran|g' makefile
+  fi
+<<
+
 # Compile Phase (NOTE: there is no configure):
 CompileScript: <<
 #!/bin/sh -ev


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to