diff options
author | joerg <joerg@pkgsrc.org> | 2010-04-20 13:37:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-04-20 13:37:49 +0000 |
commit | 6db71627711dedc5479a95da8670e4bfd1ca7ace (patch) | |
tree | aed217472e869781e20f7d9e1e5a0c1eaae0a844 /devel/bmake/files/make.c | |
parent | afb07a52b8dd99c84c360e8b7cf21e973f897e92 (diff) | |
download | pkgsrc-6db71627711dedc5479a95da8670e4bfd1ca7ace.tar.gz |
Merge bmake-20100414
Diffstat (limited to 'devel/bmake/files/make.c')
-rw-r--r-- | devel/bmake/files/make.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/bmake/files/make.c b/devel/bmake/files/make.c index 307f0a9a1c1..c851a1d69c7 100644 --- a/devel/bmake/files/make.c +++ b/devel/bmake/files/make.c @@ -1,4 +1,4 @@ -/* $NetBSD: make.c,v 1.3 2009/09/18 21:27:25 joerg Exp $ */ +/* $NetBSD: make.c,v 1.4 2010/04/20 13:37:49 joerg Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: make.c,v 1.3 2009/09/18 21:27:25 joerg Exp $"; +static char rcsid[] = "$NetBSD: make.c,v 1.4 2010/04/20 13:37:49 joerg Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)make.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: make.c,v 1.3 2009/09/18 21:27:25 joerg Exp $"); +__RCSID("$NetBSD: make.c,v 1.4 2010/04/20 13:37:49 joerg Exp $"); #endif #endif /* not lint */ #endif @@ -958,6 +958,9 @@ MakeAddAllSrc(void *cgnp, void *pgnp) void Make_DoAllVar(GNode *gn) { + if (gn->flags & DONE_ALLSRC) + return; + Lst_ForEach(gn->children, MakeUnmark, gn); Lst_ForEach(gn->children, MakeAddAllSrc, gn); @@ -974,6 +977,7 @@ Make_DoAllVar(GNode *gn) if (p1) free(p1); } + gn->flags |= DONE_ALLSRC; } /*- |