pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc34 If Fortran frontend is being built, depende...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d4f7cc121d1
branches:  trunk
changeset: 483457:8d4f7cc121d1
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Fri Nov 12 12:31:28 2004 +0000

description:
If Fortran frontend is being built, dependency on gmp is added. This
follows the stated prerequisites in the gcc installation documentation.

diffstat:

 lang/gcc34/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3e4c719c8bb9 -r 8d4f7cc121d1 lang/gcc34/Makefile
--- a/lang/gcc34/Makefile       Fri Nov 12 12:16:39 2004 +0000
+++ b/lang/gcc34/Makefile       Fri Nov 12 12:31:28 2004 +0000
@@ -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-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



Home | Main Index | Thread Index | Old Index