Now we use USE_FORTRAN=yes to use FORTRAN compiler.

This commit is contained in:
Maho Nakata 2007-07-14 09:51:49 +00:00
parent 80b36c2306
commit 269ae10910
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195563
6 changed files with 9 additions and 28 deletions

View file

@ -21,14 +21,9 @@ COMMENT= The Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
.endif
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
WRKSRC= ${WRKDIR}/ortep/src
MAKE_ARGS= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" LFLAGS="${LFLAGS}"
MAKE_ARGS= LFLAGS="${LFLAGS}"
.if defined(WITH_PGPLOT)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa

View file

@ -31,11 +31,7 @@ CONFIGURE_ARGS= --with-cc=${CC} \
--x-libraries=${X11BASE}/lib \
--x-includes=${X11BASE}/include
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
USE_FORTRAN= yes
.include <bsd.port.pre.mk>

View file

@ -20,10 +20,7 @@ LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode \
gd.4:${PORTSDIR}/graphics/gd \
qhull.5:${PORTSDIR}/math/qhull
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
USE_AUTOTOOLS= libltdl:15
USE_PERL5_BUILD=yes

View file

@ -26,11 +26,7 @@ USE_XLIB= yes
PLIST_SUB+= X11=''
.endif
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
USE_FORTRAN= yes
WRKSRC= ${WRKDIR}/pvm3
MAKE_ENV+= PVM_ROOT=${WRKSRC} ARCHCFLAGS="${CFLAGS}"

View file

@ -27,10 +27,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)

View file

@ -27,9 +27,9 @@ LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
BLAS_LIBS= -lblas
.endif
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FORTRANLIBDIR= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``
FORTRANLIBDIR2= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``/../../../
USE_FORTRAN= yes
FORTRANLIBDIR= `${DIRNAME} \`${FC} -print-libgcc-file-name\``
FORTRANLIBDIR2= `${DIRNAME} \`${FC} -print-libgcc-file-name\``/../../../
FORTRANLIBS= -lgfortranbegin -lgfortran
CXXFLAGS+= -DDONT_HAVE_STRSTREAM_H -DNEED_FDSTREAM