(trim [EMAIL PROTECTED], [EMAIL PROTECTED])

current status of migration

wait ... wait for commit approval
source ... f90/f77 sources exist
link   ... only exist link against f90/f77 complied libraries
gfortran ... used compiler is gfortran42 
f77     ...  used compiler is g77 (there are some compilation problem with 
gfortran)

ports                   maintainer           Used Fortran  committed    f77/f90?
astro/cfitsio           [EMAIL PROTECTED]    gfortran        yes          
source 
math/atlas              [EMAIL PROTECTED]     gfortran        yes          
source 
math/atlas-devel        [EMAIL PROTECTED]     gfortran        yes          
source 
biology/molden          [EMAIL PROTECTED]    gfortran        yes          
source 
benchmarks/himenobench  [EMAIL PROTECTED]     gfortran        yes          
source 
math/blas               [EMAIL PROTECTED]     gfortran        yes          
source 
math/lapack             [EMAIL PROTECTED]      gfortran        yes          
source 
biology/ortep3          [EMAIL PROTECTED]    gfortran        yes          
source 
biology/psi88           [EMAIL PROTECTED]    f77             yes          
source 
math/metis              [EMAIL PROTECTED]    gfortran        yes          
source 
math/taucs              [EMAIL PROTECTED]    gfortran        yes          
source 
math/arpack             [EMAIL PROTECTED]    gfortran        yes          
source 
cad/calculix            [EMAIL PROTECTED]     gfortran        yes          
source 
science/2dhf            [EMAIL PROTECTED]     gfortran        yes          
source 
science/mpqc            [EMAIL PROTECTED]     gfortran        yes          link
science/psi3            [EMAIL PROTECTED]     gfortran        yes          
source
math/suitesparse        [EMAIL PROTECTED]     gfortran        yes          
source
math/lapack95           [EMAIL PROTECTED]     gfortran        yes          
source
math/lapack++           [EMAIL PROTECTED]     gfortran        yes          
source
science/elmer-eio       [EMAIL PROTECTED]    gfortran        yes          
source 
science/elmer-matc      [EMAIL PROTECTED]    gfortran        yes          
source 
science/elmer-hutiter   [EMAIL PROTECTED]    gfortran        yes          
source 
math/blacs              [EMAIL PROTECTED]     gfortran        yes          
source
math/scalapack          [EMAIL PROTECTED]     gfortran        yes          
source
math/octave-devel       [EMAIL PROTECTED]     gfortran        yes          
source (*)
math/blocksolve95       [EMAIL PROTECTED]    gfortran        yes          
source 
science/elmer-fem       [EMAIL PROTECTED]    gfortran        yes          
source 
science/elmergrid       [EMAIL PROTECTED]    gfortran        yes          
source 
science/elmerpost       [EMAIL PROTECTED]    gfortran        yes          
source 
net/mpich2              [EMAIL PROTECTED]  gfortran        yes          source
science/elmerfront     [EMAIL PROTECTED]     gfortran        not yet      
source 
---------------------------------------------------------------------------------
math/freefem++         [EMAIL PROTECTED]     gfortran        not yet      
source 
science/abinit         [EMAIL PROTECTED]     gfortran        not yet      
source 
--------------------------------------------------------------------
many are not yet done...

here is the newest tip

* Migrate to gfortran42
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC=     gfortran42
F77=    gfortran42
* Linking blas/lapack or atlas
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS=     yes
.endif
.if defined(WITH_ATLAS)
LIB_DEPENDS+=   atlas.2:${PORTSDIR}/math/atlas
BLAS=           -lf77blas -latlas
LAPACK=         -lalapack
.else
LIB_DEPENDS+=   blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+=   lapack.4:${PORTSDIR}/math/lapack
BLAS=           -lblas
LAPACK=         -llapack
.endif

* Useful for other stuffs for gfortran related libaries when link against 
-lblas with C/C++ programs 
this corresponds to when some program want to link against libg2c of libf2c 
with GNU f77.

FORTRANLIBDIR=  `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``
FORTRANLIBDIR2= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``/../../../
FORTRANLIBS=    -lgfortranbegin -lgfortran

thanks,
-- NAKATA, Maho ([EMAIL PROTECTED])
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to