pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Whenever f2c is mentioned in USE_LANGUAGES...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a5ef0a8e018
branches:  trunk
changeset: 516669:6a5ef0a8e018
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jul 25 10:20:03 2006 +0000

description:
Whenever f2c is mentioned in USE_LANGUAGES, a C compiler is also needed,
so automatically add it to USE_LANGUAGES. Fixes PR 34079.

diffstat:

 mk/compiler/f2c.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6c1b9a38967e -r 6a5ef0a8e018 mk/compiler/f2c.mk
--- a/mk/compiler/f2c.mk        Tue Jul 25 07:37:55 2006 +0000
+++ b/mk/compiler/f2c.mk        Tue Jul 25 10:20:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: f2c.mk,v 1.6 2006/07/21 14:27:56 jlam Exp $
+# $NetBSD: f2c.mk,v 1.7 2006/07/25 10:20:03 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -40,6 +40,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+USE_LANGUAGES+=                c
+
 .if !empty(PKGPATH:Mlang/f2c) || !empty(PKGPATH:Mdevel/patch) || \
     !empty(PKGPATH:Mdevel/libtool-base)
 IGNORE_F2C=    yes



Home | Main Index | Thread Index | Old Index