Sat Mar 26 21:52:36 2022 UTC ()
hdf5: fix build on SunOS


(tnn)
diff -r1.22 -r1.23 pkgsrc/devel/hdf5/Makefile.common

cvs diff -r1.22 -r1.23 pkgsrc/devel/hdf5/Makefile.common (expand / switch to unified diff)

--- pkgsrc/devel/hdf5/Makefile.common 2021/06/07 11:52:48 1.22
+++ pkgsrc/devel/hdf5/Makefile.common 2022/03/26 21:52:36 1.23
@@ -1,33 +1,34 @@ @@ -1,33 +1,34 @@
1# $NetBSD: Makefile.common,v 1.22 2021/06/07 11:52:48 adam Exp $ 1# $NetBSD: Makefile.common,v 1.23 2022/03/26 21:52:36 tnn Exp $
2# used by devel/hdf5/Makefile 2# used by devel/hdf5/Makefile
3# used by devel/hdf5-c++/Makefile 3# used by devel/hdf5-c++/Makefile
4 4
5DISTNAME= hdf5-1.10.7 5DISTNAME= hdf5-1.10.7
6CATEGORIES= devel 6CATEGORIES= devel
7MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PKGVERSION_NOREV:R}/hdf5-${PKGVERSION_NOREV}/src/ 7MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PKGVERSION_NOREV:R}/hdf5-${PKGVERSION_NOREV}/src/
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.hdfgroup.org/HDF5/ 11HOMEPAGE= https://www.hdfgroup.org/HDF5/
12LICENSE= original-bsd 12LICENSE= original-bsd
13 13
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_TOOLS+= pax tr 15USE_TOOLS+= pax tr
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17CONFIGURE_ARGS+= --with-examplesdir=${PREFIX}/share/examples/hdf5 17CONFIGURE_ARGS+= --with-examplesdir=${PREFIX}/share/examples/hdf5
18TEST_TARGET= check 18TEST_TARGET= check
19 19
20CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ 20CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 21CONFIGURE_ENV.SunOS+= ac_cv_func_gettimeofday=yes
21 22
22DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo 23DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo
23PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches 24PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches
24 25
25# These 2 files are not used in the build. They use [[ ... ]]. 26# These 2 files are not used in the build. They use [[ ... ]].
26CHECK_PORTABILITY_SKIP= bin/snapshot hl/tools/h5watch/testh5watch.sh.in 27CHECK_PORTABILITY_SKIP= bin/snapshot hl/tools/h5watch/testh5watch.sh.in
27 28
28# it appears that this file is informative only and is not actually 29# it appears that this file is informative only and is not actually
29# used by any installed tools 30# used by any installed tools
30CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings 31CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings
31 32
32INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} 33INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
33 34