Update HDF5 1.8.15 Patch 1 -> 1.8.16

- patches/patch-configure is no longer necessary
- Avoid pre-configure as upstream ships proper Makefiles this time
- SHARED_LIBS version numbers are changed based on the information
  listed in https://www.hdfgroup.org/HDF5/doc/ADGuide/Changes.html
  (see "Reason for Change")

OK?

Best regards,
Ingo

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/hdf5/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile    18 Sep 2015 19:03:24 -0000      1.4
+++ Makefile    16 Nov 2015 18:16:42 -0000
@@ -2,15 +2,13 @@
 
 COMMENT =              Hierarchical Data Format 5 Technology suite
 
-V =                    1.8.15-patch1
+V =                    1.8.16
 DISTNAME =             hdf5-${V}
-PKGNAME =              hdf5-${V:S/-patch/pl/}
-REVISION =             0
 
-SHARED_LIBS += hdf5            0.0 # 10.1
-SHARED_LIBS += hdf5_cpp        0.0 # 10.1
-SHARED_LIBS += hdf5_hl         0.0 # 10.1
-SHARED_LIBS += hdf5_hl_cpp     0.0 # 10.1
+SHARED_LIBS += hdf5            0.1 # 11.0
+SHARED_LIBS += hdf5_cpp        1.0 # 11.0
+SHARED_LIBS += hdf5_hl         0.0 # 10.2
+SHARED_LIBS += hdf5_hl_cpp     1.0 # 11.0
 
 CATEGORIES =           math
 
@@ -29,16 +27,6 @@ SEPARATE_BUILD =     Yes
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS =       ${CONFIGURE_SHARED} \
                        --enable-cxx
-
-# remove trailing whitespace from LT_VERS_REVISION
-pre-configure:
-       sed -i 's,LT_VERS_REVISION = 1 ,LT_VERS_REVISION = 1,' \
-               ${WRKSRC}/fortran/src/Makefile.in \
-               ${WRKSRC}/c++/src/Makefile.in \
-               ${WRKSRC}/src/Makefile.in \
-               ${WRKSRC}/hl/src/Makefile.in \
-               ${WRKSRC}/hl/fortran/src/Makefile.in \
-               ${WRKSRC}/hl/c++/src/Makefile.in
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/hdf5/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    29 Jun 2015 19:43:53 -0000      1.1.1.1
+++ distinfo    16 Nov 2015 18:16:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (hdf5-1.8.15-patch1.tar.gz) = 
kbXifkUeX4+w/fkcBKN2YSdNKY7EOmcdyL7/b1RLY6Y=
-SIZE (hdf5-1.8.15-patch1.tar.gz) = 12244820
+SHA256 (hdf5-1.8.16.tar.gz) = 7RcXir2ZKKcjfzA3AYm6dnueOeDbRZF8KsRmXrnLR3E=
+SIZE (hdf5-1.8.16.tar.gz) = 12272400
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure     30 Jun 2015 09:15:32 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-configure,v 1.2 2015/06/30 09:15:32 ajacoutot Exp $
---- configure.orig     Tue Jun 30 08:39:51 2015
-+++ configure  Tue Jun 30 08:40:00 2015
-@@ -33416,7 +33416,7 @@ EOF
- ## linker flags:  -l with no library name; -l <libname>, specifically 
gfortran or m.
- ## This sed script corrects "-l <libname>" first and then "-l " with no 
library name.
- ## If the order is not preserved, all instances of "-l " will be removed.
--sed -e '/^postdeps/ s/-l \(a-zA-Z\)/-l\1/g' -e '/^postdeps/ s/-l //g' -i 
libtool
-+#sed -e '/^postdeps/ s/-l \(a-zA-Z\)/-l\1/g' -e '/^postdeps/ s/-l //g' -i 
libtool
- 
- ## show the configure settings
- cat src/libhdf5.settings
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/hdf5/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Jun 2015 19:43:53 -0000      1.1.1.1
+++ pkg/PLIST   16 Nov 2015 18:16:42 -0000
@@ -69,6 +69,7 @@ include/H5Location.h
 include/H5Lpublic.h
 include/H5MMpublic.h
 include/H5Object.h
+include/H5OcreatProp.h
 include/H5Opublic.h
 include/H5PLextern.h
 include/H5PLpublic.h

Reply via email to