From dfa89817f7a68d8a2958ef771b40debd33d332a1 Mon Sep 17 00:00:00 2001 From: zrj Date: Mon, 5 Dec 2016 16:08:47 +0200 Subject: [PATCH] ncurses: Fix parallel buildworld race. * MKexpanded.sh uses cc -E on source having curses.priv.h -> term.h chain. Be safe and delay until all GENHDRS are created first. No funtional change for final libprivate_ncurses{,w}.a, just for reproducibility of buildworld intermediates. --- lib/libncurses/libncurses/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libncurses/libncurses/Makefile b/lib/libncurses/libncurses/Makefile index 9af80b1e97..570ed7b9f0 100644 --- a/lib/libncurses/libncurses/Makefile +++ b/lib/libncurses/libncurses/Makefile @@ -64,7 +64,7 @@ comp_captab.c: make_hash MKcaptab.sh MKcaptab.awk Caps make_hash: make_hash.c hashsize.h ncurses_def.h ${HEADERS} ${NXCC} ${NXCFLAGS} -static -DMAIN_PROGRAM ${NXLDLIBS} -o ${.TARGET} ${NCURSESTINFODIR}/make_hash.c -expanded.c: MKexpanded.sh +expanded.c: MKexpanded.sh ${GENHDRS} sh ${NCURSESSERIALDIR}/MKexpanded.sh "${CC}" -E ${CFLAGS} > ${.TARGET} fallback.c: MKfallback.sh -- 2.11.4.GIT