summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-03-26 21:52:36 +0000
committertnn <tnn@pkgsrc.org>2022-03-26 21:52:36 +0000
commit7c55a6a93672150982c1b4a91bba4dc5af558093 (patch)
treeb981b88d6ddac874e2d8e85e625c22322032b4f5
parentafe0ca0077a0d72d4738861cf3adf1ef664654ee (diff)
downloadpkgsrc-7c55a6a93672150982c1b4a91bba4dc5af558093.tar.gz
hdf5: fix build on SunOS
-rw-r--r--devel/hdf5/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/hdf5/Makefile.common b/devel/hdf5/Makefile.common
index 4c3def14e60..a77ab4afef9 100644
--- a/devel/hdf5/Makefile.common
+++ b/devel/hdf5/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2021/06/07 11:52:48 adam Exp $
+# $NetBSD: Makefile.common,v 1.23 2022/03/26 21:52:36 tnn Exp $
# used by devel/hdf5/Makefile
# used by devel/hdf5-c++/Makefile
@@ -18,6 +18,7 @@ CONFIGURE_ARGS+= --with-examplesdir=${PREFIX}/share/examples/hdf5
TEST_TARGET= check
CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+CONFIGURE_ENV.SunOS+= ac_cv_func_gettimeofday=yes
DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo
PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches