aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-07-12 15:39:20 +0800
committermaho <maho@FreeBSD.org>2007-07-12 15:39:20 +0800
commitd79dd446b4f798b3f3b865a20686bd6e52703fe1 (patch)
treef43dfdd62e78362cb2ba03d2d317e4d1e1099762 /science
parent73479c6a710e779eaf28d1df4ae1fbe13f0dc013 (diff)
downloadfreebsd-ports-gnome-d79dd446b4f798b3f3b865a20686bd6e52703fe1.tar.gz
freebsd-ports-gnome-d79dd446b4f798b3f3b865a20686bd6e52703fe1.tar.zst
freebsd-ports-gnome-d79dd446b4f798b3f3b865a20686bd6e52703fe1.zip
Now we use USE_FORTRAN=yes to use FORTRAN compiler.
Diffstat (limited to 'science')
-rw-r--r--science/hdf/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index 85960f3ccf0f..1a49229b9b91 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -27,16 +27,13 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
CONFLICTS= netcdf-*
-WANT_FORTRAN= yes
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+=--with-jpeg="${LOCALBASE}" \
--with-szlib="${LOCALBASE}"
#wiredness of F77, FC in hdf/src/Makefile
-CONFIGURE_ENV+= F77="f77" FC="f77" FFLAGS="${FFLAGS}"
+CONFIGURE_ENV+= F77="f77" FC="f77"
MAKE_ENV+= PATH="${WRKSRC}/bin:${PATH}"
DOCFILES= HDF41r5_SpecDG.pdf \
HDF42r0_RefMan.pdf \