| @@ -1,32 +1,35 @@ | | | @@ -1,32 +1,35 @@ |
1 | # $NetBSD: Makefile.common,v 1.20 2020/01/08 12:30:34 nia Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.21 2020/03/17 22:29:34 rillig 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.6 | | 5 | DISTNAME= hdf5-1.10.6 |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-${PKGVERSION_NOREV}/src/ | | 7 | MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/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 | TEST_TARGET= check | | 17 | TEST_TARGET= check |
18 | | | 18 | |
19 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ | | 19 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ |
20 | | | 20 | |
21 | DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo | | 21 | DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo |
22 | PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches | | 22 | PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches |
23 | | | 23 | |
| | | 24 | # These 2 files are not used in the build. They use [[ ... ]]. |
| | | 25 | CHECK_PORTABILITY_SKIP= bin/snapshot hl/tools/h5watch/testh5watch.sh.in |
| | | 26 | |
24 | # it appears that this file is informative only and is not actually | | 27 | # it appears that this file is informative only and is not actually |
25 | # used by any installed tools | | 28 | # used by any installed tools |
26 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings | | 29 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings |
27 | | | 30 | |
28 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} | | 31 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} |
29 | | | 32 | |
30 | post-extract: | | 33 | post-extract: |
31 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd | | 34 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd |
32 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf | | 35 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf |