diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-25 10:20:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-25 10:20:03 +0000 |
commit | 5092ccdc95815e78df223bc713a27484e2153793 (patch) | |
tree | 67d6e3323a22f758b4eb3fcce1c51c1c366db8ff /mk | |
parent | 993c9165265c5a47f176cdb613fb2bb213623289 (diff) | |
download | pkgsrc-5092ccdc95815e78df223bc713a27484e2153793.tar.gz |
Whenever f2c is mentioned in USE_LANGUAGES, a C compiler is also needed,
so automatically add it to USE_LANGUAGES. Fixes PR 34079.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/f2c.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/compiler/f2c.mk b/mk/compiler/f2c.mk index 05fef1ccc4b..f0d1138cc7f 100644 --- a/mk/compiler/f2c.mk +++ b/mk/compiler/f2c.mk @@ -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 @@ COMPILER_F2C_MK= defined .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 |