From d76285a8386df5c9ca4bf785d3d2d58dc4577fbd Mon Sep 17 00:00:00 2001 From: hans Date: Thu, 16 Feb 2012 19:54:38 +0000 Subject: Fix build on SunOS. --- textproc/wbxml2/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'textproc') 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 && \ -- cgit v1.2.3