Project

General

Profile

Submit #2606 » 0002-Revert-local-modification-patches-done-to-bmake.patch

kAworu, 11/22/2013 02:26 AM

View differences:

contrib/bmake/README.DELETED
unit-tests/
PSD.doc/
missing/
contrib/bmake/README.DRAGONFLY
BMAKE 2012-10-10
================
Original source can be downloaded from:
http://www.crufty.net/ftp/pub/sjg
file = bmake-20121010.tar.gz
date = 13 October 2012
size = 438070
sha1 = 1a23e034d77459bc82e5259dea029514403ce484
The file README.DELETED contains a list of deleted files and directories.
The following files have been patched:
bmake.1
meta.c
suff.c
contrib/bmake/bmake.1
.Li .unexport-env
.Li .export PATH
.Li .endif
.Ed
.Pp
.Ed
Would result in an environment containing only
.Ql Ev PATH ,
which is the minimal useful environment.
contrib/bmake/meta.c
* It does not disturb our state.
*/
void
meta_job_child(Job __unused *job)
meta_job_child(Job *job)
{
#ifdef USE_FILEMON
BuildMon *pbm;
......
}
void
meta_cmd_finish(void __unused *pbmp)
meta_cmd_finish(void *pbmp)
{
#ifdef USE_FILEMON
BuildMon *pbm = pbmp;
contrib/bmake/parse.c
*/
int length;
void *freeIt;
__unused char *result; /* XXX */
char *result;
result = Var_Parse(cp, VAR_CMD, TRUE, &length, &freeIt);
if (freeIt)
contrib/bmake/suff.c
* children, then look for any overriding transformations they imply.
* Should we find one, we discard the one we found before.
*/
bottom = NULL;
targ = NULL;
if (!(gn->type & OP_PHONY)) {
while (ln != NULL) {
/*
......
for (targ = bottom; targ->parent != NULL; targ = targ->parent)
continue;
}
}
Var_Set(TARGET, gn->path ? gn->path : gn->name, gn, 0);
......
*/
Var_Set(TARGET, gn->path ? gn->path : gn->name, gn, 0);
Var_Set(PREFIX, gn->name, gn, 0);
if (gn->type & OP_PHONY) {
/*
* If this is a .PHONY target, we do not apply suffix rules.
*/
return;
}
if (DEBUG(SUFF)) {
fprintf(debug_file, "SuffFindDeps (%s)\n", gn->name);
}
(2-2/12)