pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xmlcatmgr The MIPSPro compiler chain needs a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99ee55cb3c1d
branches:  trunk
changeset: 473649:99ee55cb3c1d
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Thu Apr 22 13:11:58 2004 +0000

description:
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:

 textproc/xmlcatmgr/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r a6b6832d9fd1 -r 99ee55cb3c1d textproc/xmlcatmgr/Makefile
--- a/textproc/xmlcatmgr/Makefile       Thu Apr 22 12:44:30 2004 +0000
+++ b/textproc/xmlcatmgr/Makefile       Thu Apr 22 13:11:58 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index