Hi here is some tips.

* Migrate to gfortran42
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42

* Useful for link infomation. When link against -lblas or gfortran
compiled libraries 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

-- 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