ports/121195: [PATCH] science/hdf5: update to 1.6.7

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Fri Feb 29 01:20:01 UTC 2008


>Number:         121195
>Category:       ports
>Synopsis:       [PATCH] science/hdf5: update to 1.6.7
>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:   Fri Feb 29 01:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.3-STABLE FreeBSD 6.3-STABLE #16: Fri Feb 22 08:37:15 CST 2008
>Description:
- Update to 1.6.7
- Sort pkg-plist

Removed file(s):
- files/patch-c++::configure
- files/patch-configure

Port maintainer (koziol at hdfgroup.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- hdf5-1.6.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/hdf5/Makefile /usr/ports/sunpoet/hdf5/Makefile
--- /usr/ports/science/hdf5/Makefile	2008-02-27 01:47:48.000000000 +0800
+++ /usr/ports/sunpoet/hdf5/Makefile	2008-02-29 02:25:35.000000000 +0800
@@ -7,9 +7,10 @@
 #
 
 PORTNAME=	hdf5
-PORTVERSION=	1.6.6
+PORTVERSION=	1.6.7
 CATEGORIES=	science archivers graphics
-MASTER_SITES=	ftp://ftp.hdfgroup.org/HDF5/current/src/ \
+MASTER_SITES=	ftp://ftp.hdfgroup.org/HDF5/current16/src/ \
+		ftp://ftp.hdfgroup.org/HDF5/prev-releases/ \
 		ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${PORTVERSION}/src/
 
 MAINTAINER=	koziol at hdfgroup.org
@@ -19,10 +20,15 @@
 USE_AUTOTOOLS=	libtool:15
 GNU_CONFIGURE=	yes
 LIBTOOLFILES=	configure c++/configure
-CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--enable-cxx --enable-production \
-		--enable-threadsafe --disable-debug \
-		--with-pthread
+CONFIGURE_ARGS=	--disable-debug \
+		--enable-cxx \
+		--enable-instrument \
+		--enable-production \
+		--enable-strict-format-checks \
+		--enable-threadsafe \
+		--with-pthread=/usr \
+		--with-ssl=/usr \
+		--with-zlib=/usr
 ALL_TARGET=	lib progs
 
 .include <bsd.port.pre.mk>
@@ -33,20 +39,23 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
-		 s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g'  \
-			${WRKSRC}/config/freebsd
-	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
-		 s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g'  \
-			${WRKSRC}/c++/config/freebsd
+	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' \
+		-e 's|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g'  \
+			${WRKSRC}/config/freebsd ${WRKSRC}/c++/config/freebsd
 	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
-	@${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' ${WRKSRC}/aclocal.m4
-	@${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e '/version_type=freebsd-/s|=.*|=freebsd-elf|g' ${WRKSRC}/aclocal.m4
-	@${REINPLACE_CMD} -e '/version_type=freebsd-/s|=.*|=freebsd-elf|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' \
+		-e 's|\(version_type=freebsd\)-.*|\1-elf|g' \
+			${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
+.if defined(NOPORTEXAMPLES)
+.for i in . c++ hl
+	@${REINPLACE_CMD} \
+		-e 's,\((cd examples && $$(MAKE) $$@) || exit 1;\),#\1,g' \
+			${WRKSRC}/${i}/Makefile.in
+.endfor
+.endif
 
 post-install:
-.for i in gif2h5 h52gif h5debug h5diff h5dump h5import h5ls h5repart h5jam h5unjam
+.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/science/hdf5/distinfo /usr/ports/sunpoet/hdf5/distinfo
--- /usr/ports/science/hdf5/distinfo	2007-12-14 21:14:18.000000000 +0800
+++ /usr/ports/sunpoet/hdf5/distinfo	2008-02-26 22:13:08.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (hdf5-1.6.6.tar.gz) = 6c7fcc91f1579555d88bb10c6c9a33a9
-SHA256 (hdf5-1.6.6.tar.gz) = 432d02f2d6988999d3d18caa6680af3cef14c8a7537c98e7adbaa8f873fba2a7
-SIZE (hdf5-1.6.6.tar.gz) = 5299558
+MD5 (hdf5-1.6.7.tar.gz) = 79027c67188e2e4131c5573771f477ce
+SHA256 (hdf5-1.6.7.tar.gz) = 9d9a98204f8c7d82f767f27f84db2520c04f5c73a4a6348c781a0d91a296e9a2
+SIZE (hdf5-1.6.7.tar.gz) = 5299219
diff -ruN --exclude=CVS /usr/ports/science/hdf5/files/patch-c++::configure /usr/ports/sunpoet/hdf5/files/patch-c++::configure
--- /usr/ports/science/hdf5/files/patch-c++::configure	2002-07-14 01:25:05.000000000 +0800
+++ /usr/ports/sunpoet/hdf5/files/patch-c++::configure	1970-01-01 08:00:00.000000000 +0800
@@ -1,10 +0,0 @@
---- c++/configure.orig	Fri Jun 28 03:42:45 2002
-+++ c++/configure	Wed Jul 10 01:41:13 2002
-@@ -7563,6 +7563,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -ruN --exclude=CVS /usr/ports/science/hdf5/files/patch-configure /usr/ports/sunpoet/hdf5/files/patch-configure
--- /usr/ports/science/hdf5/files/patch-configure	2002-07-14 01:25:05.000000000 +0800
+++ /usr/ports/sunpoet/hdf5/files/patch-configure	1970-01-01 08:00:00.000000000 +0800
@@ -1,10 +0,0 @@
---- configure.orig	Sat Jun 29 05:03:55 2002
-+++ configure	Wed Jul 10 01:40:52 2002
-@@ -7263,6 +7263,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -ruN --exclude=CVS /usr/ports/science/hdf5/pkg-plist /usr/ports/sunpoet/hdf5/pkg-plist
--- /usr/ports/science/hdf5/pkg-plist	2007-12-14 21:14:18.000000000 +0800
+++ /usr/ports/sunpoet/hdf5/pkg-plist	2008-02-27 20:42:22.000000000 +0800
@@ -46,7 +46,6 @@
 include/H5FDsec2.h
 include/H5FDsrb.h
 include/H5FDstdio.h
-include/H5FDstream.h
 include/H5FaccProp.h
 include/H5FcreatProp.h
 include/H5File.h
@@ -92,43 +91,43 @@
 lib/libhdf5_hl.la
 lib/libhdf5_hl.so
 lib/libhdf5_hl.so.0
-%%EXAMPLESDIR%%/c/h5_attribute.c
-%%EXAMPLESDIR%%/c/h5_chunk_read.c
-%%EXAMPLESDIR%%/c/h5_compound.c
-%%EXAMPLESDIR%%/c/h5_drivers.c
-%%EXAMPLESDIR%%/c/h5_extend_write.c
-%%EXAMPLESDIR%%/c/h5_group.c
-%%EXAMPLESDIR%%/c/h5_mount.c
-%%EXAMPLESDIR%%/c/h5_read.c
-%%EXAMPLESDIR%%/c/h5_reference.c
-%%EXAMPLESDIR%%/c/h5_select.c
-%%EXAMPLESDIR%%/c/h5_write.c
-%%EXAMPLESDIR%%/c/ph5example.c
-%%EXAMPLESDIR%%/c/ex_lite1.c
-%%EXAMPLESDIR%%/c/ex_lite2.c
-%%EXAMPLESDIR%%/c/ex_lite3.c
-%%EXAMPLESDIR%%/c/ex_image1.c
-%%EXAMPLESDIR%%/c/ex_image2.c
-%%EXAMPLESDIR%%/c/ex_table_01.c
-%%EXAMPLESDIR%%/c/ex_table_02.c
-%%EXAMPLESDIR%%/c/ex_table_03.c
-%%EXAMPLESDIR%%/c/ex_table_04.c
-%%EXAMPLESDIR%%/c/ex_table_05.c
-%%EXAMPLESDIR%%/c/ex_table_06.c
-%%EXAMPLESDIR%%/c/ex_table_07.c
-%%EXAMPLESDIR%%/c/ex_table_08.c
-%%EXAMPLESDIR%%/c/ex_table_09.c
-%%EXAMPLESDIR%%/c/ex_table_10.c
-%%EXAMPLESDIR%%/c/ex_table_11.c
-%%EXAMPLESDIR%%/c/ex_table_12.c
-%%EXAMPLESDIR%%/c++/chunks.cpp
-%%EXAMPLESDIR%%/c++/compound.cpp
-%%EXAMPLESDIR%%/c++/create.cpp
-%%EXAMPLESDIR%%/c++/extend_ds.cpp
-%%EXAMPLESDIR%%/c++/h5group.cpp
-%%EXAMPLESDIR%%/c++/readdata.cpp
-%%EXAMPLESDIR%%/c++/strtype.cpp
-%%EXAMPLESDIR%%/c++/writedata.cpp
- at dirrm %%EXAMPLESDIR%%/c
- at dirrm %%EXAMPLESDIR%%/c++
- at dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/chunks.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/compound.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/create.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/extend_ds.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5group.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/readdata.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/strtype.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/writedata.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_image1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_image2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_lite1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_lite2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_lite3.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_01.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_02.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_03.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_04.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_05.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_06.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_07.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_08.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_09.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_10.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_11.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_12.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_attribute.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_chunk_read.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_compound.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_drivers.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_extend_write.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_group.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_mount.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_read.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_reference.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_select.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_write.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ph5example.c
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/c
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/c++
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
--- hdf5-1.6.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list