aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--biology/ortep3/Makefile9
-rw-r--r--math/octave-forge/Makefile6
-rw-r--r--math/plplot/Makefile5
-rw-r--r--net/pvm/Makefile6
-rw-r--r--science/libghemical/Makefile5
-rw-r--r--science/oof/Makefile6
6 files changed, 9 insertions, 28 deletions
diff --git a/biology/ortep3/Makefile b/biology/ortep3/Makefile
index 1efba959fe88..39b8b358c240 100644
--- a/biology/ortep3/Makefile
+++ b/biology/ortep3/Makefile
@@ -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
diff --git a/math/octave-forge/Makefile b/math/octave-forge/Makefile
index ceeddc216b13..39ad924bc09a 100644
--- a/math/octave-forge/Makefile
+++ b/math/octave-forge/Makefile
@@ -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>
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index b69a0ec56e5c..593b59a1404e 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -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
diff --git a/net/pvm/Makefile b/net/pvm/Makefile
index b73e0b9a19e5..eea2724a20b7 100644
--- a/net/pvm/Makefile
+++ b/net/pvm/Makefile
@@ -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}"
diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile
index 26def8dc7fdc..4fa2c85c7efe 100644
--- a/science/libghemical/Makefile
+++ b/science/libghemical/Makefile
@@ -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)
diff --git a/science/oof/Makefile b/science/oof/Makefile
index 1f240e8f818d..db5d471b0898 100644
--- a/science/oof/Makefile
+++ b/science/oof/Makefile
@@ -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