From ff5a7875dad34f47ca4e8152534992673052021a Mon Sep 17 00:00:00 2001 From: jschauma Date: Thu, 22 Apr 2004 13:11:58 +0000 Subject: The MIPSPro compiler chain needs a "-c99" flag if the code claims to be C99 code (for example: use of stdbool.h). This allows this package to build under Irix 6.5 using MIPSPro. --- textproc/xmlcatmgr/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'textproc') diff --git a/textproc/xmlcatmgr/Makefile b/textproc/xmlcatmgr/Makefile index 1da3da5fa0c..fed5b83a7e5 100644 --- a/textproc/xmlcatmgr/Makefile +++ b/textproc/xmlcatmgr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2004/03/28 19:51:06 jmmv Exp $ +# $NetBSD: Makefile,v 1.19 2004/04/22 13:11:58 jschauma Exp $ # DISTNAME= xmlcatmgr-2.0 @@ -35,6 +35,12 @@ SUPPORT_FILES+= ${EGDIR}/catalog.share.xml ${PREFIX}/share/xml/catalog BUILD_DIRS= ${WRKSRC}/work INSTALL_DIRS= ${WRKSRC}/work +.include "../../mk/bsd.prefs.mk" + +.if defined(USE_MIPSPRO) && !empty(USE_MIPSPRO:M[yY][eE][sS]) +CFLAGS+= -c99 +.endif + post-build: @${ECHO} "Creating SGML catalogs..." @${WRKSRC}/work/xmlcatmgr -sc ${WRKDIR}/catalog.etc.sgml create -- cgit v1.2.3