Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22471/unstable/main/finkinfo/sci
Modified Files: avl.info avl.patch Log Message: migrate old avl to stable add new one that uses gcc42 to unstable http://sourceforge.net/tracker/index.php?func=detail&aid=1651837&group_id=17203&atid=414256 Index: avl.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/avl.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- avl.patch 20 Jan 2006 20:30:39 -0000 1.1 +++ avl.patch 6 Feb 2007 18:11:11 -0000 1.2 @@ -15,9 +15,8 @@ ###================================================ ### Default compilers and flags -FC = f77 -+FC = g77 --FFLAGS = -O -+FFLAGS = -O2 ++FC = gfortran + FFLAGS = -O -PLTLIB = -lX11 +PLTLIB = -L/usr/X11R6/lib -lX11 FTNLIB = @@ -28,10 +27,9 @@ ##-------------------------- ### Intel Fortran Compiler 8.x -FC = ifort --FFLAGS = -O --PLTLIB = -L/usr/X11R6/lib -lX11 +#FC = ifort -+#FFLAGS = -O + FFLAGS = -O +-PLTLIB = -L/usr/X11R6/lib -lX11 +#PLTLIB = -L/usr/X11R6/lib -lX11 #FTNLIB = -Vaxlib /usr/lib/C-ctype.o /usr/lib/C_name.o /usr/lib/ctype-info.o #FTNLIB = -Vaxlib -i_dynamic @@ -40,8 +38,8 @@ ### double-precision option (also need double precision Eispack and libPlt) -FFLAGS = -O -r8 -PLTOBJ = ../plotlib/libPltDP.a -+#FFLAGS = -O -r8 -+#PLTOBJ = ../plotlib/libPltDP.a ++FFLAGS = -O -fdefault-real-8 ++PLTOBJ = ../plotlib/libPltDP.a all: $(PROGS) @@ -52,10 +50,10 @@ -#FC = f77 -FC = ifort -+FC = g77 ++FC = gfortran +#FC = ifort -FLG = -O -+FLG = -O2 ++FLG = -O -fdefault-real-8 EISLIB = eispack.a AR = ar r RAN = ranlib @@ -65,7 +63,7 @@ diff -urN avl-3.22-1/Avl/plotlib/Makefile avl-3.22-1mod/Avl/plotlib/Makefile --- Avl/plotlib/Makefile 2005-12-02 20:38:33.000000000 -0500 +++ Avl/plotlib/Makefile 2005-12-02 20:32:10.000000000 -0500 -@@ -30,7 +30,7 @@ +@@ -30,13 +30,13 @@ #================================# # Point to your install directory @@ -74,20 +72,28 @@ #INSTALLDIR= /usr/local/lib #INSTALLDIR= . + # Use these to set default library name (overridden in config.make file) +-PLTLIB = libPlt.a ++#PLTLIB = libPlt.a +-#PLTLIB = libPltDP.a ++PLTLIB = libPltDP.a + + + ###======================================================== @@ -69,14 +69,14 @@ ###================================================ ### Default compilers and flags, install commands -FC = f77 -CC = cc -+FC = g77 ++FC = gfortran +CC = gcc # Some fortrans need trailing underscores in C interface symbols (see Xwin.c) DEFINE = -DUNDERSCORE # Uncomment DP to make double-precision version - #DP = -r8 --FFLAGS = -O $(DP) -+FFLAGS = -O2 $(DP) +-#DP = -r8 ++DP = -fdefault-real-8 + FFLAGS = -O $(DP) -CFLAGS = -O $(DEFINE) +CFLAGS = -O2 -I/usr/X11R6/include/ $(DEFINE) AR = ar r @@ -96,37 +102,28 @@ -diff -urN avl-3.22-1/Avl/plotlib/config.make avl-3.22-1mod/Avl/plotlib/config.make ---- Avl/plotlib/config.make 2005-12-02 20:38:33.000000000 -0500 -+++ Avl/plotlib/config.make 2005-12-02 20:30:35.000000000 -0500 -@@ -8,8 +8,8 @@ - - ### Use these to set library name - ### (you might add DP to name to keep double precision version separate) --#PLTLIB = libPlt.a --PLTLIB = libPltDP.a -+PLTLIB = libPlt.a -+#PLTLIB = libPltDP.a - - - # Some fortrans need trailing underscores in C interface symbols (see Xwin.c) +diff -urN avl-3.22-1/Avl/plotlib/config.make.DP avl-3.22-1mod/Avl/plotlib/config.make.DP +--- Avl/plotlib/config.make.DP 2005-12-02 20:38:33.000000000 -0500 ++++ Avl/plotlib/config.make.DP 2005-12-02 20:30:35.000000000 -0500 @@ -24,17 +24,17 @@ ### or the yaf77 or the old f77 shell script from f2c ### g77 the GNU Fortran compiler # -#FC = g77-3 -+FC = g77 ++FC = gfortran #FC = fort77 -#CC = gcc +CC = gcc # Uncomment DP to make double-precision version # (note -r8 does not work in g77, use f2c instead) - #DP = -r8 - #FFLAGS = -O2 $(DP) +-#DP = -r8 ++DP = -fdefault-real-8 +-#FFLAGS = -O2 $(DP) -#CFLAGS = -O2 $(DEFINE) -#AR = ar r -#RANLIB = ranlib -#LINKLIB = -L/usr/X11R6/lib -lX11 ++FFLAGS = -O $(DP) +CFLAGS = -O2 -I/usr/X11R6/include/ $(DEFINE) +AR = ar r +RANLIB = ranlib @@ -185,3 +182,5 @@ C RETURN END + + Index: avl.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/avl.info,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- avl.info 12 Oct 2006 00:11:39 -0000 1.3 +++ avl.info 6 Feb 2007 18:11:11 -0000 1.4 @@ -1,10 +1,10 @@ Package: avl Version: 3.26 -Revision: 1 +Revision: 1000 Architecture: powerpc License: GPL -Depends: x11-shlibs, x11 -BuildDepends: g77, x11-dev +Depends: gcc42-shlibs, x11-shlibs, x11 +BuildDepends: gcc42, x11-dev Source: http://web.mit.edu/drela/Public/web/avl/avl%v.tar.gz Source-MD5: a204ed6ce76c1b9bb5e58486a182774f SourceDirectory: Avl @@ -12,6 +12,8 @@ CompileScript: << #!/bin/sh -ev cd plotlib + mv config.make config.make.orig + mv config.make.DP config.make make cd ../eispack make @@ -33,6 +35,8 @@ AVL uses an extended vortex-lattice model to perform aerodynamic analysis, trim calculation, dynamic stability analysis, aircraft configuration development, etc. + + This package compiles avl with double precision arithmetic. << DescPort: << Had to use the alternate code in aplotmd.f, as the code using CLOCKX @@ -41,3 +45,5 @@ << Homepage: http://web.mit.edu/drela/Public/web/avl/ Maintainer: Kevin Horton <[EMAIL PROTECTED]> + + ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits