pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/wbxml2 Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52ac8e7459fa
branches:  trunk
changeset: 599608:52ac8e7459fa
user:      hans <hans%pkgsrc.org@localhost>
date:      Thu Feb 16 19:54:38 2012 +0000

description:
Fix build on SunOS.

diffstat:

 textproc/wbxml2/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ca416cc1839a -r 52ac8e7459fa textproc/wbxml2/Makefile
--- a/textproc/wbxml2/Makefile  Thu Feb 16 19:53:53 2012 +0000
+++ b/textproc/wbxml2/Makefile  Thu Feb 16 19:54:38 2012 +0000
@@ -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 @@
 
 PKGCONFIG_OVERRIDE+=   libwbxml2.pc.in
 
+CPPFLAGS.SunOS+=       -std=c99 -D_XOPEN_SOURCE=600
+
 pre-configure:
        cd ${WRKSRC} && \
                ${PREFIX}/bin/libtoolize && \



Home | Main Index | Thread Index | Old Index