- Now we use USE_FORTRAN=yes to use FORTRAN compiler.

Approved by:	stas (mentor)
This commit is contained in:
Marcelo Araujo 2007-07-15 16:12:19 +00:00
parent 418670d762
commit 025104e02e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195667
5 changed files with 7 additions and 20 deletions

View File

@ -14,10 +14,7 @@ PKGNAMEPREFIX= elmer-
MAINTAINER= araujo@FreeBSD.org
COMMENT= ELMER FEM Package Data base Interface
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
GNU_CONFIGURE= yes

View File

@ -16,6 +16,8 @@ COMMENT= HUTIter library for use in the ELMER FEM package
LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack
USE_FORTRAN= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
@ -32,11 +34,6 @@ BLAS= -lblas
LAPACK= -llapack
.endif
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' -e 's|%%FC%%|${FC}|' ${WRKSRC}/configure.in

View File

@ -15,10 +15,7 @@ PKGNAMEPREFIX= elmer-
MAINTAINER= araujo@FreeBSD.org
COMMENT= A Mesh Generation Utility for use with the ELMER FEM package
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
GNU_CONFIGURE= yes
ALL_TARGET=

View File

@ -28,10 +28,7 @@ RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
# on older systems (Irix)
CXXFLAGS+= -Wno-deprecated
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
USE_GCC= 3.4
USE_GL= yes
GNU_CONFIGURE= yes

View File

@ -27,9 +27,8 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET=
WANT_FORTRAN= yes
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
CONFIGURE_ENV+= FC=gfortran42 F77=gfortran42 FCFLAGS=${FCFLAGS}
USE_FORTRAN= yes
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
PLIST_SUB= ARCH=${MACHINE_ARCH}