summaryrefslogtreecommitdiff
path: root/lang/gcc34
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-11-12 12:31:28 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-11-12 12:31:28 +0000
commit67974c9371b22e4c429033c7682ae615301cef7c (patch)
treec3c4690e62f46d543fa5504072026cc2761e7133 /lang/gcc34
parent580e1b7f74e52b3538e6e5a3047973f425bd0588 (diff)
downloadpkgsrc-67974c9371b22e4c429033c7682ae615301cef7c.tar.gz
If Fortran frontend is being built, dependency on gmp is added. This
follows the stated prerequisites in the gcc installation documentation.
Diffstat (limited to 'lang/gcc34')
-rw-r--r--lang/gcc34/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index ffd99a59ff8..7f1b2d8f4bc 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/11/08 16:44:34 shannonjr Exp $
+# $NetBSD: Makefile,v 1.19 2004/11/12 12:31:28 shannonjr Exp $
#
DISTNAME= gcc-${GCC_VERSION}
@@ -85,6 +85,11 @@ CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX}
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
MAKE_ENV+= ICONVPREFIX=${BUILDLINK_PREFIX.iconv}
+.if !empty(BUILD_F77:M[Yy][Ee][Ss])
+.include "../../devel/gmp/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp}
+.endif
+
# GNU pth is useless here
.if !empty(BUILD_ADA:M[Yy][Ee][Ss])
# ADA tasking strictly requires native threads