summaryrefslogtreecommitdiff
path: root/devel/gmp/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-10-21 15:46:43 +0000
committerjschauma <jschauma@pkgsrc.org>2005-10-21 15:46:43 +0000
commit1c40d9a18340c2ecce7be0ff53929c1e51e42e73 (patch)
treeee60760275e8007771315fb4db6bc297fcf9cb25 /devel/gmp/Makefile
parent400876c594679a388d181e987b7725f7715ef054 (diff)
downloadpkgsrc-1c40d9a18340c2ecce7be0ff53929c1e51e42e73.tar.gz
Make this work on IRIX, by passing -c99 (if mipspro is used) and by
ensuring that the conftests are actually removed and therefor capabilities can actually be detected (rather than configure failing for them)
Diffstat (limited to 'devel/gmp/Makefile')
-rw-r--r--devel/gmp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile
index a8f6dd205df..f61434d8692 100644
--- a/devel/gmp/Makefile
+++ b/devel/gmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2005/05/22 20:07:51 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2005/10/21 15:46:43 jschauma Exp $
DISTNAME= gmp-4.1.4
PKGREVISION= 1
@@ -27,6 +27,12 @@ TEST_TARGET= check
ABI= o32
.endif
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro)
+CFLAGS+= -c99
+.endif
+
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
# The configure script thinks gcc 2.95 for ARM is too buggy to use.
GCC_REQD+= 3.0