Now we use USE_FORTRAN=yes to use FORTRAN compiler.

This commit is contained in:
Maho Nakata 2007-07-12 07:39:20 +00:00
parent 9e03dca3d7
commit 5876bf13c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195454
3 changed files with 4 additions and 14 deletions

View File

@ -20,11 +20,7 @@ NO_WRKSUBDIR= yes
ALL_TARGET= drawcgm gtex gplot
MAN1= gplot.1
DOCS= gplot.hlp gplot.txt gtex.doc
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
MAKE_ENV+= FC="${FC}" F77="${F77}"
USE_FORTRAN= yes
.include <bsd.port.pre.mk>

View File

@ -22,10 +22,7 @@ LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes

View File

@ -27,16 +27,13 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
CONFLICTS= netcdf-*
WANT_FORTRAN= yes
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+=--with-jpeg="${LOCALBASE}" \
--with-szlib="${LOCALBASE}"
#wiredness of F77, FC in hdf/src/Makefile
CONFIGURE_ENV+= F77="f77" FC="f77" FFLAGS="${FFLAGS}"
CONFIGURE_ENV+= F77="f77" FC="f77"
MAKE_ENV+= PATH="${WRKSRC}/bin:${PATH}"
DOCFILES= HDF41r5_SpecDG.pdf \
HDF42r0_RefMan.pdf \