| @@ -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 | |
5 | DISTNAME= hdf5-1.10.7 | | 5 | DISTNAME= hdf5-1.10.7 |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PKGVERSION_NOREV:R}/hdf5-${PKGVERSION_NOREV}/src/ | | 7 | MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PKGVERSION_NOREV:R}/hdf5-${PKGVERSION_NOREV}/src/ |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.hdfgroup.org/HDF5/ | | 11 | HOMEPAGE= https://www.hdfgroup.org/HDF5/ |
12 | LICENSE= original-bsd | | 12 | LICENSE= original-bsd |
13 | | | 13 | |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
15 | USE_TOOLS+= pax tr | | 15 | USE_TOOLS+= pax tr |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | CONFIGURE_ARGS+= --with-examplesdir=${PREFIX}/share/examples/hdf5 | | 17 | CONFIGURE_ARGS+= --with-examplesdir=${PREFIX}/share/examples/hdf5 |
18 | TEST_TARGET= check | | 18 | TEST_TARGET= check |
19 | | | 19 | |
20 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ | | 20 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ |
| | | 21 | CONFIGURE_ENV.SunOS+= ac_cv_func_gettimeofday=yes |
21 | | | 22 | |
22 | DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo | | 23 | DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo |
23 | PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches | | 24 | PATCHDIR= ${.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 [[ ... ]]. |
26 | CHECK_PORTABILITY_SKIP= bin/snapshot hl/tools/h5watch/testh5watch.sh.in | | 27 | CHECK_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 |
30 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings | | 31 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings |
31 | | | 32 | |
32 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} | | 33 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} |
33 | | | 34 | |