diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-05-08 19:41:47 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-05-08 19:41:47 +0000 |
commit | b3981bc6bbe75fda44b157ac5b35fabed96b4767 (patch) | |
tree | d52cfca7276ef053562796432cc233aee21155a4 /databases/shared-mime-info | |
parent | cd6058a9c771902c5affcd824ad535dcd2998bab (diff) | |
download | pkgsrc-b3981bc6bbe75fda44b157ac5b35fabed96b4767.tar.gz |
add '-c99' to the CFLAGS when using MIPSPro
Diffstat (limited to 'databases/shared-mime-info')
-rw-r--r-- | databases/shared-mime-info/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/shared-mime-info/Makefile b/databases/shared-mime-info/Makefile index 9f20a2f0e79..8a317b14d42 100644 --- a/databases/shared-mime-info/Makefile +++ b/databases/shared-mime-info/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/03/30 20:47:19 jmmv Exp $ +# $NetBSD: Makefile,v 1.18 2006/05/08 19:41:47 jschauma Exp $ # DISTNAME= shared-mime-info-0.17 @@ -22,6 +22,12 @@ CONFIGURE_ARGS+= --disable-update-mimedb CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mmipspro*) +CFLAGS+= -c99 +.endif + DEINSTALL_TEMPLATE+= ${PKGDIR}/INSTALL FILES_SUBST+= MIMEDB_PATH="${PREFIX}/share/mime" |