summaryrefslogtreecommitdiff
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
parentd060977bf947ff50125c120c7da13383152dff8a (diff)
downloadpkgsrc-af631d0d26e4ba5df82e41858914383027e32af2.tar.gz
Fix build on SunOS.
-rw-r--r--devel/hdf5/Makefile.common4
-rw-r--r--devel/libdatrie/Makefile4
2 files changed, 6 insertions, 2 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
diff --git a/devel/libdatrie/Makefile b/devel/libdatrie/Makefile
index bd8aafffb3b..8728bb6985d 100644
--- a/devel/libdatrie/Makefile
+++ b/devel/libdatrie/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/12/06 11:06:51 obache Exp $
+# $NetBSD: Makefile,v 1.9 2012/02/16 18:46:51 hans Exp $
#
DISTNAME= libdatrie-0.2.5
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
+LIBS.SunOS+= -liconv
+
PKGCONFIG_OVERRIDE+= datrie-0.2.pc.in
CONFIGURE_ARGS+= --disable-doxygen-doc