]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ncurses: serialize the tinfo build a little bit
authorKyle Evans <kevans@FreeBSD.org>
Wed, 24 Jan 2024 05:00:36 +0000 (23:00 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 24 Jan 2024 05:00:36 +0000 (23:00 -0600)
commit009db0d40c6acffe0b9d835cb15a75cc3361173b
tree0958fca85c696f6e33be876aa34d78f831db4944
parent90ad2dc28747a3a5036d68ccc87d2352459f5cb1
ncurses: serialize the tinfo build a little bit

Move ncurses_dll.h to GENHDRS to start with; it's been generated from
ncurses_dll.h.in for years, so it's not actually in a different category
than all of the other GENHDRS.  Slap an .ORDER on it to ensure that we
build ncurses_dll.h and curses.h before any *.c gets compiled.

This should sufficiently address a build race seen downstream where
ncurses_dll.h is present but not yet populated.

Reviewed by: bapt
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D43540
lib/ncurses/tinfo/Makefile