ports/144782: [PATCH] science/hdf5: update to 1.8.4
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Tue Mar 16 07:20:02 UTC 2010
>Number: 144782
>Category: ports
>Synopsis: [PATCH] science/hdf5: update to 1.8.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 16 07:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 8.0-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 12 20:20:34 CST 2010
>Description:
- Update to 1.8.4
- Utilize OPTIONS
- Add option for szip
Port maintainer (koziol at hdfgroup.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- hdf5-1.8.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sunpoet/hdf5-18/../../science/hdf5-18/Makefile /usr/ports/sunpoet/hdf5-18/Makefile
--- /usr/ports/sunpoet/hdf5-18/../../science/hdf5-18/Makefile 2009-09-16 09:00:58.000000000 +0800
+++ /usr/ports/sunpoet/hdf5-18/Makefile 2010-03-16 03:23:46.000000000 +0800
@@ -6,18 +6,19 @@
#
PORTNAME= hdf5
-PORTVERSION= 1.8.3
-PORTREVISION= 1
+PORTVERSION= 1.8.4
CATEGORIES= science archivers graphics
MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current/src/ \
- ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-1.8.2/src/
+ ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-1.8.4/src/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-patch1
MAINTAINER= koziol at hdfgroup.org
COMMENT= Hierarchical Data Format library (from NCSA)
-CONFLICTS= hdf5-1.6.*
+CONFLICTS= hdf-4.* hdf5-1.6.*
NO_LATEST_LINK= yes
+USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug \
@@ -26,9 +27,11 @@
--enable-production \
--enable-strict-format-checks \
--with-pthread=/usr \
- --with-ssl=/usr \
--with-zlib=/usr
+OPTIONS= FORTRAN "Fortran support" off \
+ SZIP "SZIP support" off
+
.include <bsd.port.pre.mk>
.if defined(WITH_FORTRAN)
@@ -40,6 +43,11 @@
PLIST_SUB+= FORTRAN="@comment "
.endif
+.if defined(WITH_SZIP)
+LIB_DEPENDS+= sz.2:${PORTSDIR}/science/szip
+CONFIGURE_ARGS+= --with-szlib=${LOCALBASE}
+.endif
+
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on ${ARCH}
.endif
@@ -53,7 +61,6 @@
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
-
.for i in gif2h5 h52gif h5debug h5diff h5dump h5import h5jam h5ls h5repack h5repart h5unjam
@${STRIP_CMD} ${PREFIX}/bin/${i}
.endfor
diff -ruN --exclude=CVS /usr/ports/sunpoet/hdf5-18/../../science/hdf5-18/distinfo /usr/ports/sunpoet/hdf5-18/distinfo
--- /usr/ports/sunpoet/hdf5-18/../../science/hdf5-18/distinfo 2009-09-04 08:41:15.000000000 +0800
+++ /usr/ports/sunpoet/hdf5-18/distinfo 2010-03-10 15:14:13.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (hdf5-1.8.3.tar.gz) = 5ce228d860bf9e797ca40ab1a823c380
-SHA256 (hdf5-1.8.3.tar.gz) = 2e124dfd59ca00dee693c06cf2517d14b361769e65edbc1c3940063437d0a5e3
-SIZE (hdf5-1.8.3.tar.gz) = 7175884
+MD5 (hdf5-1.8.4-patch1.tar.bz2) = b19f4dfbf654a2af3653c492fc1c7513
+SHA256 (hdf5-1.8.4-patch1.tar.bz2) = 818b9f7ff767e9760d0c8aa0abc16ad20e616cfaab760dd3b18ead67326a3f18
+SIZE (hdf5-1.8.4-patch1.tar.bz2) = 5251124
--- hdf5-1.8.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list