mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
Now we use USE_FORTRAN=yes to use FORTRAN compiler.
This commit is contained in:
parent
bf8612ab0a
commit
3034d94e67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195551
10 changed files with 11 additions and 46 deletions
|
@ -16,12 +16,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Adds Fortran intrinsics missing from f2c
|
COMMENT= Adds Fortran intrinsics missing from f2c
|
||||||
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
USE_FORTRAN= yes
|
||||||
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}"
|
|
||||||
|
|
||||||
pre-build:
|
pre-build:
|
||||||
${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
|
${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
|
||||||
|
|
|
@ -21,10 +21,7 @@ COMMENT= A Navier-Stokes solver
|
||||||
|
|
||||||
RESTRICTED= No resale, contact author for commercial usage
|
RESTRICTED= No resale, contact author for commercial usage
|
||||||
|
|
||||||
WANT_FORTRAN=yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
FFLAGS+= -O2
|
FFLAGS+= -O2
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
|
|
@ -35,10 +35,7 @@ BLAS= -lblas
|
||||||
LAPACK= -llapack
|
LAPACK= -llapack
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
|
|
||||||
P_VERSION= 3.0
|
P_VERSION= 3.0
|
||||||
WRKSRC= ${WRKDIR}/SuperLU_${P_VERSION}
|
WRKSRC= ${WRKDIR}/SuperLU_${P_VERSION}
|
||||||
|
|
|
@ -21,10 +21,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Routines for performing multithreaded sparse factorization
|
COMMENT= Routines for performing multithreaded sparse factorization
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
||||||
WITH_ATLAS= yes
|
WITH_ATLAS= yes
|
||||||
|
|
|
@ -15,11 +15,7 @@ DISTNAME= UMFPACKv${PORTVERSION}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Unsymmetric-pattern MultiFrontal Package
|
COMMENT= Unsymmetric-pattern MultiFrontal Package
|
||||||
|
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
USE_FORTRAN= yes
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
FORTRANLIBS= -lgfortranbegin -lgfortran
|
FORTRANLIBS= -lgfortranbegin -lgfortran
|
||||||
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
|
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
|
||||||
|
|
||||||
|
|
|
@ -19,13 +19,9 @@ COMMENT= A rather general finite element solver using mixed finite elements
|
||||||
LIB_DEPENDS= gsl.10:${PORTSDIR}/math/gsl \
|
LIB_DEPENDS= gsl.10:${PORTSDIR}/math/gsl \
|
||||||
lapack.4:${PORTSDIR}/math/lapack
|
lapack.4:${PORTSDIR}/math/lapack
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
|
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --with-gsl-prefix=${LOCALBASE} \
|
CONFIGURE_ARGS= --with-gsl-prefix=${LOCALBASE} \
|
||||||
--with-blas-lapack-prefix=${LOCALBASE}
|
--with-blas-lapack-prefix=${LOCALBASE}
|
||||||
|
|
|
@ -28,10 +28,7 @@ NO_WRKSUBDIR= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
MAKEFILE= makefile
|
MAKEFILE= makefile
|
||||||
MAKE_FLAGS+= CPPFLAGS=-I.
|
MAKE_FLAGS+= CPPFLAGS=-I.
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
|
|
||||||
.if !defined(WITH_EXAMPLES)
|
.if !defined(WITH_EXAMPLES)
|
||||||
PLIST_SUB= WITH_EXAMPLES="@comment "
|
PLIST_SUB= WITH_EXAMPLES="@comment "
|
||||||
|
|
|
@ -19,10 +19,7 @@ LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
|
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
|
||||||
WANT_FORTRAN=yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
|
|
||||||
MAN1= gen-ctl-io.1
|
MAN1= gen-ctl-io.1
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,7 @@ LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
|
||||||
hdf5.0:${PORTSDIR}/science/hdf5 \
|
hdf5.0:${PORTSDIR}/science/hdf5 \
|
||||||
guile.15:${PORTSDIR}/lang/guile
|
guile.15:${PORTSDIR}/lang/guile
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
|
@ -21,11 +21,7 @@ WRKSRC= ${WRKDIR}/Oases_export
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
MAKE_ENV+= OASES_ROOT="${WRKSRC}"
|
MAKE_ENV+= OASES_ROOT="${WRKSRC}"
|
||||||
|
|
||||||
WANT_FORTRAN= yes #dummy but future use
|
USE_FORTRAN= yes
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
||||||
FC= gfortran42
|
|
||||||
F77= gfortran42
|
|
||||||
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
|
|
||||||
|
|
||||||
SCRIPT= avbeam bistat cplot mplot mtvplot multmtv oasn oasp oasr \
|
SCRIPT= avbeam bistat cplot mplot mtvplot multmtv oasn oasp oasr \
|
||||||
oass oassp oast plp2mtv
|
oass oassp oast plp2mtv
|
||||||
|
|
Loading…
Add table
Reference in a new issue