summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 19:54:38 +0000
committerhans <hans@pkgsrc.org>2012-02-16 19:54:38 +0000
commit30d60cb5dcf30400b4698c40e39632a587678873 (patch)
tree9afdfe0858d169d5406287ecec514c6b44c1b6c5 /textproc
parentee4ca0362d2ba1a2b08339ea0660782a9c10b185 (diff)
downloadpkgsrc-30d60cb5dcf30400b4698c40e39632a587678873.tar.gz
Fix build on SunOS.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/wbxml2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/wbxml2/Makefile b/textproc/wbxml2/Makefile
index 6db28c92ad6..b07912045a7 100644
--- a/textproc/wbxml2/Makefile
+++ b/textproc/wbxml2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:38 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2012/02/16 19:54:38 hans Exp $
#
DISTNAME= wbxml2-0.9.2
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libwbxml2.pc.in
+CPPFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
pre-configure:
cd ${WRKSRC} && \
${PREFIX}/bin/libtoolize && \