* Use gfortran

* portlint.
Build was not verified. It has been known that it doesn't build
with 6.2-RELEASE(?), even without modification, but pointyhat
build cluster. Hope pointyhat builds without errors.
This commit is contained in:
Maho Nakata 2007-04-17 00:30:58 +00:00
parent 146d46b787
commit dd47a49a59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190163

View File

@ -7,7 +7,7 @@
PORTNAME= hdf
PORTVERSION= 4.2r1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science archivers graphics
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF${PORTVERSION}/src/:src \
ftp://ftp.ncsa.uiuc.edu/HDF/HDF/Documentation/HDF4.2r0/:doc \
@ -26,9 +26,16 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
CONFLICTS= netcdf-*
WANT_FORTRAN= yes
#USE_GCC=4.2+
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+=--with-jpeg="${LOCALBASE}" \
--with-szlib="${LOCALBASE}"
CONFIGURE_ENV+= F77="${F77}" FFLAGS="${FFLAGS}"
DOCFILES= HDF41r5_SpecDG.pdf \
HDF42r0_RefMan.pdf \
HDF42r0_UserGd.pdf
@ -37,12 +44,12 @@ SZIP_DOCFILE= SZIP_HDF4_2r1.pdf
MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1
MANCOMPRESSED= no
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" && ${ARCH} != "alpha" && ${ARCH} != "amd64"
BROKEN= "Does not compile on !i386, !amd64 and !alpha"
BROKEN= Does not compile on !i386, !amd64 and !alpha
.endif
post-patch: