Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv9450/unstable/main/finkinfo/devel
Modified Files:
floppy.info flow.info
Log Message:
floppy, flow: improved detection of fortran compiler.
Index: floppy.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/floppy.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- floppy.info 19 May 2011 21:32:15 -0000 1.2
+++ floppy.info 20 May 2011 07:54:29 -0000 1.3
@@ -1,6 +1,6 @@
Package: floppy
Version: 7.0
-Revision: 3
+Revision: 4
Description: Fortran source code analyzer
Architecture: powerpc, i386, x86_64
Provides: floppy
@@ -15,11 +15,15 @@
PatchScript: <<
#!/bin/sh -ev
-# newer fortrans habe a function range
+# newer fortrans have a function range. Rename it.
sed -i.bak 's|RANGE|EGNAR|g' range.for procom.for settyp.for
-# replace f77 by gfortran if available
+
+# replace f77 by g95 or gfortran if available
+# this is poor fortran man's configure
if [ -f %p/bin/gfortran ]; then
sed -i.bak 's|f77|gfortran|g' makefile
+ elif [ -f %p/bin/g95 ]; then
+ sed -i.bak 's|f77|g95|g' makefile
fi
<<
Index: flow.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/flow.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- flow.info 19 May 2011 21:32:15 -0000 1.2
+++ flow.info 20 May 2011 07:54:29 -0000 1.3
@@ -1,6 +1,6 @@
Package: flow
Version: 3.0
-Revision: 3
+Revision: 4
Description: Fortran source code analyzer
Architecture: powerpc, i386, x86_64
Provides: flow
@@ -15,9 +15,12 @@
PatchScript: <<
#!/bin/sh -ev
-# replace f77 by gfortran if available
+# replace f77 by g95 or gfortran if available
+# this is poor fortran man's configure
if [ -f %p/bin/gfortran ]; then
sed -i.bak 's|f77|gfortran|g' makefile
+ elif [ -f %p/bin/g95 ]; then
+ sed -i.bak 's|f77|g95|g' makefile
fi
<<
------------------------------------------------------------------------------
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
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs