From ea8575c1f2c120295c6815f3703946511b5d98a9 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Wed, 17 Jan 2007 06:06:55 +0000 Subject: * Migrate to gfortran. * Bump port revision. * Always use F90. --- french/med/Makefile | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'french') diff --git a/french/med/Makefile b/french/med/Makefile index 28c1754766eb..e57223888a4b 100644 --- a/french/med/Makefile +++ b/french/med/Makefile @@ -7,6 +7,7 @@ PORTNAME= med PORTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= french science MASTER_SITES= http://www.code-aster.org/FICHIERS/ @@ -20,29 +21,27 @@ RUN_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} TK_VER?= 8.4 SHORT_TK_VER= ${TK_VER:S/.//} +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}" +FFLAGS+= -O2 + CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \ - LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} +CONFIGURE_ENV+= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \ + LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} \ + --with-f90=${FC} GNU_CONFIGURE= yes USE_GMAKE= yes +USE_AUTOTOOLS= autoconf:259 libtool:15 USE_LDCONFIG= yes -.if !defined(WITHOUT_F90) -F90= gfortran41 -BUILD_DEPENDS+= ${F90}:${PORTSDIR}/lang/gfortran -CONFIGURE_ARGS+= --with-f90=${F90} -.endif - DOC2FIX= . gif html jpg png tests TST2FIX= c f .include -.if !${OSVERSION} < 500039 -F77?= f77 -.endif -FFLAGS?= -O2 - pre-configure: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|SUBDIRS = src tests tools doc|SUBDIRS = src tests tools|' \ -- cgit v1.2.3