summaryrefslogtreecommitdiff
path: root/devel/hdf5
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 18:45:59 +0000
committerhans <hans@pkgsrc.org>2012-02-16 18:45:59 +0000
commitaf631d0d26e4ba5df82e41858914383027e32af2 (patch)
tree47b7b0f64932e3021d3f0ab462a17e3eac56c1c6 /devel/hdf5
parentd060977bf947ff50125c120c7da13383152dff8a (diff)
downloadpkgsrc-af631d0d26e4ba5df82e41858914383027e32af2.tar.gz
Fix build on SunOS.
Diffstat (limited to 'devel/hdf5')
-rw-r--r--devel/hdf5/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/hdf5/Makefile.common b/devel/hdf5/Makefile.common
index 5d7aba32917..a68de6abc90 100644
--- a/devel/hdf5/Makefile.common
+++ b/devel/hdf5/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2011/10/07 10:38:50 alnsn Exp $
+# $NetBSD: Makefile.common,v 1.2 2012/02/16 18:45:59 hans Exp $
# used by devel/hdf5-c++/Makefile
HDF5_VER= 1.8.7
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
TEST_TARGET= check
PKG_DESTDIR_SUPPORT= user-destdir
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+
PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches
# it appears that this file is informative only and is not actually