reports.c: add needport_list() in builds-[arch].sh files

This commit is contained in:
Silvan Calarco 2013-05-04 17:02:04 +02:00
parent 513c96ecb2
commit 67b53d8af7
2 changed files with 13 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ main(int argc, char *argv[])
for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) { for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) {
if (!quietmode) if (!quietmode)
fprintf(stdout, "Scanning binary packages for %s arch ...\n",configtag->arch[i]); fprintf(stdout, "Scanning binary packages for %s arch...\n",configtag->arch[i]);
else else
logmsg(LOG_MARK, "%s binary packages check for %s:", configtag->arch[i],configtag->tag); logmsg(LOG_MARK, "%s binary packages check for %s:", configtag->arch[i],configtag->tag);

View File

@ -2024,6 +2024,18 @@ print_datatables(struct configTag *ct, int arch) {
} }
fprintf(fbsh,");\n"); fprintf(fbsh,");\n");
fprintf(fbsh,"needport_list=(");
currheadersourcelist = ct->headersourcelist;
while (currheadersourcelist != NULL) {
if (!currheadersourcelist->firstchild[arch] &&
currheadersourcelist->old &&
currheadersourcelist->old->firstchild[arch]) {
fprintf(fbsh,"%s ",currheadersourcelist->name);
}
currheadersourcelist = currheadersourcelist->next;
}
fprintf(fbsh,");\n");
currheadersourcelist = ct->headersourcelist; currheadersourcelist = ct->headersourcelist;
logmsg(LOG_DEBUG,"writing builds and sources files (2)"); logmsg(LOG_DEBUG,"writing builds and sources files (2)");
while (currheadersourcelist != NULL) { while (currheadersourcelist != NULL) {