summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-04-22 13:11:58 +0000
committerjschauma <jschauma@pkgsrc.org>2004-04-22 13:11:58 +0000
commitff5a7875dad34f47ca4e8152534992673052021a (patch)
treec27da0be87c50cd415ee22b30a26b4ab75a620c1 /textproc
parent8d232afe14704e0c25fef8ca71ced974cb72216e (diff)
downloadpkgsrc-ff5a7875dad34f47ca4e8152534992673052021a.tar.gz
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.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xmlcatmgr/Makefile8
1 files changed, 7 insertions, 1 deletions
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