pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hdf5-c++ devel/hdf5-c++: Install missing headers



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bd48babe8f8
branches:  trunk
changeset: 413012:1bd48babe8f8
user:      bacon <bacon%pkgsrc.org@localhost>
date:      Sat Mar 14 23:09:48 2020 +0000

description:
devel/hdf5-c++: Install missing headers

The for loop with a version-specific header file list was not updated with
the 1.10.6 upgrade.  This fragile approach is now replaced with a simpler
install command to install all current headers.

diffstat:

 devel/hdf5-c++/Makefile |  16 ++++------------
 devel/hdf5-c++/PLIST    |   6 +++++-
 2 files changed, 9 insertions(+), 13 deletions(-)

diffs (61 lines):

diff -r 7a2cd76568db -r 1bd48babe8f8 devel/hdf5-c++/Makefile
--- a/devel/hdf5-c++/Makefile   Sat Mar 14 22:40:47 2020 +0000
+++ b/devel/hdf5-c++/Makefile   Sat Mar 14 23:09:48 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2016/09/14 20:29:56 alnsn Exp $
+# $NetBSD: Makefile,v 1.7 2020/03/14 23:09:48 bacon Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-c++-/}
+PKGREVISION=   1
 COMMENT=       Hierarchical Data Format (new generation) - C++ wrappers
 
 USE_LANGUAGES=         c c++
@@ -16,17 +17,8 @@
            ${WRKSRC}/c++/src/libhdf5_cpp.la ${DESTDIR}/${PREFIX}/lib/
        ${LIBTOOL} --mode=install ${INSTALL_LIB} \
            ${WRKSRC}/hl/c++/src/libhdf5_hl_cpp.la ${DESTDIR}/${PREFIX}/lib/
-       ${INSTALL_DATA} \
-           ${WRKSRC}/hl/c++/src/H5PacketTable.h ${DESTDIR}/${PREFIX}/include/
-.for f in H5AbstractDs.h H5ArrayType.h H5AtomType.h H5Attribute.h H5Classes.h \
-          H5CommonFG.h H5CompType.h H5Cpp.h H5CppDoc.h H5DataSet.h \
-         H5DataSpace.h H5DataType.h H5DcreatProp.h H5DxferProp.h H5EnumType.h \
-         H5Exception.h H5FaccProp.h H5FcreatProp.h H5File.h H5FloatType.h \
-         H5Group.h H5IdComponent.h H5Include.h H5IntType.h H5Library.h \
-         H5Location.h H5OcreatProp.h \
-         H5Object.h H5PredType.h H5PropList.h H5StrType.h H5VarLenType.h
-       ${INSTALL_DATA} ${WRKSRC}/c++/src/${f} ${DESTDIR}/${PREFIX}/include/
-.endfor
+       ${INSTALL_DATA} ${WRKSRC}/hl/c++/src/*.h ${DESTDIR}/${PREFIX}/include/
+       ${INSTALL_DATA} ${WRKSRC}/c++/src/*.h ${DESTDIR}/${PREFIX}/include/
 .for f in chunks.cpp compound.cpp create.cpp extend_ds.cpp \
          h5group.cpp readdata.cpp run-c++-ex.sh writedata.cpp
        ${INSTALL_DATA} ${WRKSRC}/c++/examples/${f} \
diff -r 7a2cd76568db -r 1bd48babe8f8 devel/hdf5-c++/PLIST
--- a/devel/hdf5-c++/PLIST      Sat Mar 14 22:40:47 2020 +0000
+++ b/devel/hdf5-c++/PLIST      Sat Mar 14 23:09:48 2020 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2018/01/01 22:29:24 rillig Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/03/14 23:09:48 bacon Exp $
 bin/h5c++
 include/H5AbstractDs.h
+include/H5Alltypes.h
 include/H5ArrayType.h
 include/H5AtomType.h
 include/H5Attribute.h
@@ -9,6 +10,7 @@
 include/H5CompType.h
 include/H5Cpp.h
 include/H5CppDoc.h
+include/H5DaccProp.h
 include/H5DataSet.h
 include/H5DataSpace.h
 include/H5DataType.h
@@ -24,6 +26,8 @@
 include/H5IdComponent.h
 include/H5Include.h
 include/H5IntType.h
+include/H5LaccProp.h
+include/H5LcreatProp.h
 include/H5Library.h
 include/H5Location.h
 include/H5Object.h



Home | Main Index | Thread Index | Old Index